View Issue Details

IDProjectCategoryView StatusLast Update
0004084ScribusBuild Systempublic2006-08-18 22:01
Reportermhanski Assigned Tofschmid  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
PlatformPentium(R) M processor 1.50GHzOSKubuntuOS VersionDapper Drake
Product Version1.3.4cvs 
Fixed in Version1.3.4cvs 
Summary0004084: 1.3.4cvs: make errors due to old deprecated QT headers (qarray.h and qvector.h)
DescriptionCannot compile current 1.3.4cvs anymore (since last week), see the attached error output
Additional Information[ 2%] Building CXX object scribus/text/CMakeFiles/scribus_text_lib.dir/storytext.o
/usr/bin/c++ -O0 -g3 -Wall -I/home/maciej/dane/scribus/cvs134/Scribus/scribus/text -I/home/maciej/dane/scribus/cvs134/Scribus -I/home/maciej/dane/scribus/cvs134/Scribus/scribus -I/usr/share/qt3/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/python2.4 -I/usr/include/cairo -DSHAREDIR=\"/opt/scribus134/share/scribus/\" -DDOCDIR=\"/opt/scribus134/share/doc/scribus/\" -DICONDIR=\"/opt/scribus134/share/scribus/icons/\" -DSAMPLESDIR=\"/opt/scribus134/share/scribus/samples/\" -DSCRIPTSDIR=\"/opt/scribus134/share/scribus/scripts/\" -DTEMPLATEDIR=\"/opt/scribus134/share/scribus/templates/\" -DLIBDIR=\"/opt/scribus134/lib/scribus/\" -DPLUGINDIR=\"/opt/scribus134/lib/scribus/plugins/\" -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -DHAVE_DLFCN_H -DHAVE_UNISTD_H -DHAVE_CONFIG_H -o scribus/text/CMakeFiles/scribus_text_lib.dir/storytext.o -c /home/maciej/dane/scribus/cvs134/Scribus/scribus/text/storytext.cpp
In file included from /home/maciej/dane/scribus/cvs134/Scribus/scribus/text/storytext.cpp:5:
/home/maciej/dane/scribus/cvs134/Scribus/scribus/scfonts.h:14:21: error: qvector.h: No such file or directory
In file included from /home/maciej/dane/scribus/cvs134/Scribus/scribus/scfonts.h:32,
                 from /home/maciej/dane/scribus/cvs134/Scribus/scribus/text/storytext.cpp:5:
/home/maciej/dane/scribus/cvs134/Scribus/scribus/fonts/scface.h:19:20: error: qarray.h: No such file or directory
make[2]: *** [scribus/text/CMakeFiles/scribus_text_lib.dir/storytext.o] Error 1
make[2]: Leaving directory `/home/maciej/dane/scribus/cvs134/Scribus'
make[1]: *** [scribus/text/CMakeFiles/scribus_text_lib.dir/all] Error 2
make[1]: Leaving directory `/home/maciej/dane/scribus/cvs134/Scribus'
make: *** [all] Error 2
maciej@pan:~/dane/scribus/cvs134/Scribus$
TagsNo tags attached.
Patch

Activities

plinnell

2006-08-01 17:26

viewer   ~0012076

The hint:
qvector.h: No such file or directory
error: qarray.h: No such file or directory

This means make cannot find your Qt headers. Did you do an upgrade of Qt ?

I think it is libqt-mt-dev or something like that. Debian package naming conventions are not really user friendly.

One other option would be to try Cmake, which uses a different method to search for Qt3 headers.

Hope that helps.

mhanski

2006-08-01 17:33

developer   ~0012077

Last edited: 2006-08-01 19:52

thx Peter,
-- this error occurs while using CMAKE (see the output in Additional Information). Cmake version is 2.5-20060723.

-- about the QT headers: there are no problems with compiling 1.3.3cvs in my system. Does 1.3.4cvs use _other_ QT headers than 1.3.3cvs?

-- libqt3-mt-dev is installed and there were no updates recently

-- 1.3.4cvs compiled without issues with the same configuration until a few days ago

mhanski

2006-08-02 06:07

developer   ~0012084

Reminder sent to: ringerc

do you have any hints, how to solve this one? I'd like to deliver a PL translation for 1.3.4 before my holidays (starting on Friday), but I'm pretty stuck right now.

jb

2006-08-04 19:48

reporter   ~0012114

Hi.

Had the same problem. The files:
qarray.h and qvector.h are old deprecated QT headers. I think the issue should be fixed in Scribus source code.

See:
http://doc.trolltech.com/3.3/qarray.html
http://doc.trolltech.com/3.3/qvector.html

qarray.h is replaced by qmemarray.h and
qvector.h by qptrvector.h

You can still compile Scribus by installing the libqt3-compat-headers package as a workaround.

Regards

mhanski

2006-08-04 23:02

developer   ~0012122

jb: your hint with libqt3-compat-headers works. Changing the description and setting the status to confirmed.

fschmid

2006-08-07 10:58

developer   ~0012140

Removed all occurences of these deprecated #include lines, still compiles cleanly here.

plinnell

2006-08-10 22:18

viewer   ~0012159

Franz, this might need to be looked at for 133x too.

Issue History

Date Modified Username Field Change
2006-07-31 23:25 mhanski New Issue
2006-08-01 17:26 plinnell Note Added: 0012076
2006-08-01 17:33 mhanski Note Added: 0012077
2006-08-01 17:40 mhanski Note Edited: 0012077
2006-08-01 17:40 mhanski Note Edited: 0012077
2006-08-01 19:52 mhanski Note Edited: 0012077
2006-08-02 06:07 mhanski Note Added: 0012084
2006-08-04 19:48 jb Note Added: 0012114
2006-08-04 23:02 mhanski Note Added: 0012122
2006-08-04 23:04 mhanski Status new => confirmed
2006-08-04 23:04 mhanski Summary 1.3.4cvs: make errors => 1.3.4cvs: make errors due to old deprecated QT headers (qarray.h and qvector.h)
2006-08-07 10:58 fschmid Status confirmed => resolved
2006-08-07 10:58 fschmid Fixed in Version => 1.3.4cvs
2006-08-07 10:58 fschmid Resolution open => fixed
2006-08-07 10:58 fschmid Assigned To => fschmid
2006-08-07 10:58 fschmid Note Added: 0012140
2006-08-10 22:18 plinnell Note Added: 0012159
2006-08-18 22:00 cbradney Status resolved => closed