[PyKDE] Installation trouble

Phil Thompson phil at river-bank.demon.co.uk
Mon Jul 22 15:08:00 BST 2002


Aaron Brice wrote:

> Trying to install PyQt.  I ran build.py with:
> 
> python ./build.py -i /usr/include/qt -q /usr
> 
> make fails with:
> make[1]: Leaving directory `/usr/src/PyQt-3.3.2/qtsql'
> cd pyuic3 && "/usr/bin/make" -f Makefile
> make[1]: Entering directory `/usr/src/PyQt-3.3.2/pyuic3'
> g++ -c -pipe -Wall -W -O2 -D_REENTRANT  -DUIC -DQT_INTERNAL_XML
> -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -fno-exceptions -I.
> -I/usr/src/3rdparty/zlib -I/usr/include -I/usr/share/qt/mkspecs/default
> -o main.o main.cpp
> cc1plus: warning: changing search order for system directory
> "/usr/include"
> cc1plus: warning:   as it has already been specified as a non-system
> directory
> In file included from main.cpp:22:
> uic.h:24:18: qdom.h: No such file or directory
> uic.h:25:21: qstring.h: No such file or directory
> uic.h:26:25: qstringlist.h: No such file or directory
> uic.h:27:18: qmap.h: No such file or directory
> uic.h:28:25: qtextstream.h: No such file or directory
> uic.h:29:22: qpalette.h: No such file or directory
> <bunch of other stuff>
> 
> For some reason it seems to lose the -i build parameter when it gets to
> pyuic3 (there's no -I/usr/include/qt).  How do I fix it?


Try replacing the "." in INCLUDEPATH in pyuic3/pyuic.pro with 
@BL_INCLUDEPATH at .

Phil




More information about the PyQt mailing list