Problems Compiling PyQt3.7
Michael 'Mickey' Lauer
mickey at tm.informatik.uni-frankfurt.de
Thu Jul 10 16:06:54 EDT 2003
mazu <mazu at go2.pl> wrote:
> 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:
More information about the Python-list
mailing list