Problems Compiling PyQt3.7


M

mazu

I get errors about QAssistantClient while compiling PyQt 3.7, on my
debian woody with Qt 3.1.2. Here is compiler message:

cd qt && /usr/bin/make -f Makefile
make[1]: Entering directory `/Downloads/KDE - libs/PyQt-x11-gpl-3.7/qt'
g++ -c -pipe -w -O2 -D_REENTRANT -fPIC -DSIP_MAKE_MODULE_DLL
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I.
-I/usr/include/python2.1 -I/usr/share/qt3/include -o qtcmodule.o
qtcmodule.cpp
In file included from qtcmodule.cpp:37:
sip/qassistantclient.sip:37: qassistantclient.h: No such file or directory
In file included from qtcmodule.cpp:37:
sipqtQAssistantClient.h:42: parse error before `{'
sipqtQAssistantClient.h:45: destructors must be member functions
sipqtQAssistantClient.h:49: non-member function `property(const char *)'
cannot have `const' method qualifier
sipqtQAssistantClient.h:82: parse error before `private'
sipqtQAssistantClient.h:84: syntax error before `&'
sipqtQAssistantClient.h:87: parse error before `}'
sipqtQAssistantClient.h:89: syntax error before `*'
make[1]: *** [qtcmodule.o] Error 1
make[1]: Leaving directory `/Downloads/KDE - libs/PyQt-x11-gpl-3.7/qt'
make: *** [sub-qt] Error 2

Anybody know any solution to this problem? I've got libqt3-mt,
libqt3-mt-dev, and Qt 3.1.2already installed.
 
Ad

Advertisements

M

Michael 'Mickey' Lauer

mazu said:
I get errors about QAssistantClient while compiling PyQt 3.7, on my
debian woody with Qt 3.1.2. Here is compiler message:

cd qt && /usr/bin/make -f Makefile
make[1]: Entering directory `/Downloads/KDE - libs/PyQt-x11-gpl-3.7/qt'
g++ -c -pipe -w -O2 -D_REENTRANT -fPIC -DSIP_MAKE_MODULE_DLL
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I.
-I/usr/include/python2.1 -I/usr/share/qt3/include -o qtcmodule.o
qtcmodule.cpp
In file included from qtcmodule.cpp:37:
sip/qassistantclient.sip:37: qassistantclient.h: No such file or directory
In file included from qtcmodule.cpp:37:
sipqtQAssistantClient.h:42: parse error before `{'
sipqtQAssistantClient.h:45: destructors must be member functions
sipqtQAssistantClient.h:49: non-member function `property(const char *)'
cannot have `const' method qualifier
sipqtQAssistantClient.h:82: parse error before `private'
sipqtQAssistantClient.h:84: syntax error before `&'
sipqtQAssistantClient.h:87: parse error before `}'
sipqtQAssistantClient.h:89: syntax error before `*'
make[1]: *** [qtcmodule.o] Error 1
make[1]: Leaving directory `/Downloads/KDE - libs/PyQt-x11-gpl-3.7/qt'
make: *** [sub-qt] Error 2

Anybody know any solution to this problem? I've got libqt3-mt,
libqt3-mt-dev, and Qt 3.1.2already installed.

Seems your distribution is missing files. Download the Qt-3.1.2 source and
copy the missing files into $QTDIR/include.

:M:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top