[Scribus] install problem under RH8

Franz Schmid Franz.Schmid
Sat Mar 13 22:08:51 CET 2004


LinuxLingam wrote:

> something is amiss. here is the log dump on the screen:
> 
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libart-2.0
> -I/usr/include/freetype2 -I/usr/lib/qt3-gcc3.2/include
> -I/usr/X11R6/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -O2
> -fno-exceptions -fno-check-new  -c -o shadebutton.o `test -f
> 'shadebutton.cpp' || echo './'`shadebutton.cpp
> shadebutton.cpp: In member function `int ShadeButton::getValue()':
> shadebutton.cpp:60: no matching function for call to
> `QString::remove(const
>    char[3])'
> /usr/lib/qt3-gcc3.2/include/qstring.h:500: candidates are: QString&
>    QString::remove(unsigned int, unsigned int)

And that's the real cause of your problems, you're using Qt-3.0.4, the
function used here is only available under Qt-3.1.x and higher.

Since this is the only occurence of that function i rewrote that part
of shadebutton.cpp to be compatible with Qt-3.0.x.

Change is in todays CVS, hope that helps

btw upgrading to a newer Qt is highly recommended, newer versions have
many bugfixes in and are more stable.

Best Regards,
Franz Schmid






More information about the scribus mailing list