[Scribus] Compile Error: Scribus 0.9.11
Joe Villari
joev_nylxs
Mon Jun 16 18:37:54 CEST 2003
Franz Schmid wrote:
> Joe Villari wrote:
>
>> Here's the error I get while running make on 0.9.11:
>>
>> Making all in svgexplugin
>> make[4]: Entering directory
>> `/home/joev/scribus-0.9.11/scribus/plugins/svgexplugin'
>> /usr/lib/qt3-gcc2.95/bin/moc ./svgexplugin.h -o svgexplugin.moc
>> source='svgexplugin.cpp' object='svgexplugin.lo' libtool=yes \
>> depfile='.deps/svgexplugin.Plo' tmpdepfile='.deps/svgexplugin.TPlo' \
>> depmode=gcc /bin/sh ../../../admin/depcomp \
>> /bin/sh ../../../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
>> -I. -I. -I../../.. -I/usr/local/include -I/usr/local/include/freetype2
>> -I/usr/lib/qt3-gcc2.95/include -I/usr/X11R6/include -I../../../scribus
>> -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions -fno-check-new
>> -c -o svgexplugin.lo `test -f 'svgexplugin.cpp' || echo
>> './'`svgexplugin.cpp
>> mkdir .libs
>> g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/local/include
>> -I/usr/local/include/freetype2 -I/usr/lib/qt3-gcc2.95/include
>> -I/usr/X11R6/include -I../../../scribus -DQT_THREAD_SUPPORT
>> -D_REENTRANT -O2 -fno-exceptions -fno-check-new -c svgexplugin.cpp
>> -Wp,-MD,.deps/svgexplugin.TPlo -fPIC -DPIC -o .libs/svgexplugin.o
>> svgexplugin.cpp: In method `void SVGExPlug::ProcessPage(ScribusApp *,
>> Page *, QDomDocument *, QDomElement *)':
>> svgexplugin.cpp:273: no matching function for call to
>> `QValueVector<singleLine>::count ()'
>> svgexplugin.cpp:318: no matching function for call to
>> `QValueVector<singleLine>::count ()'
>> svgexplugin.cpp:336: no matching function for call to
>> `QValueVector<singleLine>::count ()'
>> svgexplugin.cpp:379: no matching function for call to
>> `QValueVector<singleLine>::count ()'
>> svgexplugin.cpp:400: no matching function for call to
>> `QValueVector<singleLine>::count ()'
>> make[4]: *** [svgexplugin.lo] Error 1
>
> You're using Qt-3.0x, right? Replace the call to count() with size() in the
> offending lines and it should work.
>
> Best Regards
> Franz Schmid
>
>
>
>
Yes Franz I have QT 3.0.3. Is it easier to upgrade QT or is it like
gclib, a real pain? Which file contains the count()? I looked int hte
Makefiles and could not find it.
Thanks
Joe
More information about the scribus
mailing list