[PyKDE] PyQt compile problems

Phil Thompson phil at river-bank.demon.co.uk
Fri Mar 28 09:17:00 GMT 2003


On Friday 28 March 2003 4:21 am, Randall wrote:
> I'm trying to install PyQt on Gentoo, but I keep getting an error during
> installation.  I have sip 3.5 installed and qt 3.1.2.
>
> I posted on the gentoo list and I was referred here.
>
> Here is the output of the install script:
>
> ***************************************************************************
>*** The build of the PyQt source code for your system is now complete. To
> compile and install PyQt run "make" and "make install" with appropriate
> user privileges. eric the IDE written using PyQt is now available
> separately from http://www.die-offenbachs.de/detlev/eric3.html.
> ***************************************************************************
>*** cd qt && /usr/bin/make -f Makefile
> make[1]: Entering directory
> `/var/tmp/portage/PyQt-3.5-r1/work/PyQt-x11-gpl-3.5/qt'
> g++ -c -pipe -w -O2 -D_REENTRANT -fPIC  -DSIP_MAKE_MODULE_DLL -DQT_NO_DEBUG
> -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.
> -I/usr/include/python2.2 -I/usr/qt/3/include -o qthuge.o qthuge.cpp
> sipqtQDesktopWidget.cpp: In member function `void
>    sipQDateTimeEdit::sipProtect_layoutEditors()':
> sipqtQDesktopWidget.cpp:4079: no method `QDateTimeEdit::layoutEditors'
> make[1]: *** [qthuge.o] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/PyQt-3.5-r1/work/PyQt-x11-gpl-3.5/qt'
> make: *** [sub-qt] Error 2
>
>
> Any ideas?

PyQt v3.5 does not support Qt v3.1.2. Use the current SIP and PyQt snapshots.

Phil




More information about the PyQt mailing list