[PyKDE] Problems building PyQt-x11-gpl-3.4

Phil Thompson phil at river-bank.demon.co.uk
Sun Dec 1 18:13:00 GMT 2002


On Sunday 01 December 2002 4:57 pm, Leo wrote:
> Hi all,
>
> Hopefully someone has experienced this problem before. I am having a
> problem building PyQt.
>
> System specs:
>
> base RedHat Linux 8.0
> gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
> QT 3.1 (installed at /usr/lib/qt-3.1)
> Python 2.2.1 (#1, Aug 30 2002, 12:15:30)
>
> Sip built and installed as follows:
> python build.py -b /usr/bin -i /usr/lib/qt-3.1/include -l qt-mt -q
> /usr/lib/qt-3.1
>
> sip configures, make and make install without any problem
>
> Then try and build PyQt-x11-gpl-3.4 with:
> python build.py -b /usr/bin -i /usr/lib/qt-3.1/include -l qt-mt -q
> /usr/lib/qt-3.1
>
> Build is perfect, no errors. When trying to run make, no errors or
> warnings until..
>
> g++ -c -pipe -w -O2 -D_REENTRANT -fPIC  -DSIP_MAKE_MODULE_DLL
> -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -fno-exceptions -I.
> -I../../../../../../include/python2.2
> -I../../../../../../lib/qt-3.1/include -I/usr/lib/qt-3.1/include
> -I/usr/lib/qt-3.1/mkspecs/default -o sipqtQLayout.o sipqtQLayout.cpp
> sipqtQLayout.cpp:1853: `unlimited' is not a member of type `QLayout'
> make[1]: *** [sipqtQLayout.o] Error 1
> make[1]: Leaving directory
> `/usr/src/redhat/BUILD/PyQT_GPL/PyQt-x11-gpl-3.4/qt'
> make: *** [sub-qt] Error 2
>
>
> Hopefully this is just an error in my build process.

Use the SIP and PyQt snapshots if you are using Qt 3.1.

Phil




More information about the PyQt mailing list