[PyKDE] compile problem: no QDateTimeEdit::layoutEditors method

Phil Thompson phil at river-bank.demon.co.uk
Thu Mar 27 11:23:01 GMT 2003


On Thursday 27 March 2003 9:20 am, Albrecht Gebhardt wrote:
> Hi,
>
> Im just trying to compile python-qt3-3.5 on a debian stable system (with
> recent Qt 3.1.2 and KDE 3.1.1 backports)
>
> It stops at:
>
> g++ -c -pipe -w -O2 -D_REENTRANT -fPIC  -DSIP_MAKE_MODULE_DLL
> -DQT_NO_STYLE_CDE -DQT_NO_STYLE_MOTIFPLUS -DQT_NO_STYLE_MOTIF
> -DQT_NO_STYLE_PLATINUM -DQT_NO_STYLE_SGI -DQT_NO_STYLE_WINDOWS
> -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -fno-exceptions
> -I/usr/share/qt3/mkspecs/linux-g++ -I. -I. -I/usr/include/python2.1
> -I/usr/include/qscintilla -I/usr/share/qt3/include -o qthuge.o qthuge.cpp
> sipqtQDesktopWidget.cpp: In method `void
> sipQDateTimeEdit::sipProtect_layoutEditors()':
> sipqtQDesktopWidget.cpp:4079: no method `QDateTimeEdit::layoutEditors'
> make: *** [qthuge.o] Error 1
>
> and if I look into /usr/include/qt3/qdatetimeedit.h there is in deed no
> "layoutEditors" method.
>
> What can I do here?

Upgrade to the snapshot version of PyQt or wait for PyQt v3.6.

Phil




More information about the PyQt mailing list