PDA

View Full Version : Debian testing and qwindowsstyle.h



karrde
10-04-2003, 09:21 AM
After a little time of getting the right librarys on my debian stable system up to the right unstable libs to make it through ./configure I gladly did a make:


g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/qt3 -I.
-DMAPDIR=\"/usr/local/share/showeq\"
-DLOGDIR=\"/usr/local/share/showeq\" -I/usr/include/pcap
-D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions
-DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false
-DICON_DIR=\"/eq-icons/\" -c main.cpp
main.cpp:17:27: qwindowsstyle.h: No such file or directory


I looked arround a bit and changed the include to read "qwindowdefs.h" (on a lark didn't expect it to work) and that compiled through.. not sure what linking would be like because later I hit:



g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/qt3 -I.
-DMAPDIR=\"/usr/local/share/showeq\"
-DLOGDIR=\"/usr/local/share/showeq\" -I/usr/include/pcap
-D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions
-DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false
-DICON_DIR=\"/eq-icons/\" -c interface.cpp
interface.cpp:62:27: qwindowsstyle.h: No such file or directory
interface.cpp:63:28: qplatinumstyle.h: No such file or directory
interface.cpp:64:25: qmotifstyle.h: No such file or directory
interface.cpp:65:23: qcdestyle.h: No such file or directory
interface.cpp:66:23: qsgistyle.h: No such file or directory


and some info about qt on my system:



checking for Qt... yes
>> Found version.: 3.1.1
>>> Headers......: /usr/include/qt3/
>>>> Libraries...: /usr/lib/
>>>>> Workable...: -*{ YES }*-
checking for Qt MOC... yes
checking if Qt compiles without flags... yes


and


dpkg -l libqt3\* | grep ^ii
ii libqt3-compat- 3.1.1-9 Qt 1.x and 2.x compatibility includes
ii libqt3-headers 3.1.1-9 Qt3 header files
ii libqt3-mt-dev 3.1.1-9 Qt development files (Threaded)
ii libqt3c102-mt 3.1.1-9 Qt GUI Library (Threaded runtime version)


Am I missing a package somewhere? Is seq not compatabile with qt3.1.1?

fester
10-04-2003, 02:05 PM
Originally posted by karrde
I looked arround a bit and changed the include to read "qwindowdefs.h" (on a lark didn't expect it to work) and that compiled through.. not sure what linking would be like because later I hit:

Am I missing a package somewhere? Is seq not compatabile with qt3.1.1?

It is more likely the file you changed to load qwindowsdefs.h didn't actually use anything from qwindowsstyle.h (the programmer just loaded that .h "just in case".)

From my memory, qwindowsstyle.h was available in QT2 and QT3.

showeq# qpkg -l x11-libs/qt-3.1.2-r4 | grep qwindowsst
/usr/qt/3/include/qwindowsstyle.h

I would bet 3.1.1 will work. It would appear you are missing some include files from QT.

I am afraid I can't help you with debian (I run gentoo), so I don't know if you have all the packages installed. I suspect you do not.

karrde
10-04-2003, 02:18 PM
Well qt3.1.1 does work. After I got back to it I d/led the latest tarball and was going to compile it. I took another quick chance and linked the files into my /usr/include/qt3 dir, and viola showeq compiled and runs great....

Edit:

More digging and a email to the maintainer of the headers reveals that I was missing a package "libqt3-plugins-headers".

Ocasionally the breakup of larger projects in Debian gets in the way of something getting done.