[Scribus] Compilation problems with scribus-1.1.4

valter violino v.violino
Wed Dec 24 11:25:30 CET 2003


Hi,

I work on a Suse Linux 8.1 Professional platform,
i use gcc-3.3 and Qt-3.0.5
 
Code below show error messages received after run 
'make' command. 

//---------------------------------------------------------------------

g++ -DHAVE_CONFIG_H -I. -I. -I.. 
-I/usr/include/libart-2.0 
-I/usr/include/freetype2 
-I/usr/lib/qt-3.0.5//include -I/usr/X11R6/include  
-DQT_THREAD_SUPPORT  -D_REENTRANT  -O2 
-fno-exceptions -fno-check-new  -c -o story.o 
`test -f 'story.cpp' || echo './'`story.cpp
story.cpp: In member function `void 
STable::adjHeight(int)':
story.cpp:209: error: `currentFont' undeclared 
(first use this function)
story.cpp:209: error: (Each undeclared identifier 
is reported only once for
   each function it appears in.)
story.cpp: In member function `void 
StoryEditor::KeyRet()':
story.cpp:757: error: no matching function for 
call to `QString::remove(const
   char[2])'
/usr/lib/qt-3.0.5/include/qstring.h:500: error: 
candidates are: QString&
   QString::remove(unsigned int, unsigned int)
story.cpp:770: error: no matching function for 
call to `QString::remove(const
   char[2])'
/usr/lib/qt-3.0.5/include/qstring.h:500: error: 
candidates are: QString&
   QString::remove(unsigned int, unsigned int)
make[3]: *** [story.o] Error 1
make[3]: Leaving directory 
`/home/valter/scribus/scribus-1.1.4/scribus'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/valter/scribus/scribus-1.1.4/scribus'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/valter/scribus/scribus-1.1.4'
make: *** [all] Error 2

//---------------------------------------------------------------------

I tried to search currentFont() function in Qt 
library but no class use this function. So i 
think this function must be defined in file 
'story.h', but does not exist there.

Somebody can solve this problem? (could be a 
little xmas present...)

Thanks in advance and happy xmas,

-- 
Cordiali saluti,

Valter Violino

Powered by Suse linux 8.1 Professional



More information about the scribus mailing list