[PyKDE] PyQt build problem

Phil Thompson phil at riverbankcomputing.co.uk
Mon Dec 8 19:43:01 GMT 2003


On Sunday 07 December 2003 11:04 pm, William Trenker wrote:
> Hello,
>
> I've got both SIP (sip-4.0rc1.tar.gz) and QScintilla
> (qscintilla-1.54-x11-gpl-1.2.tar.gz) built from source ok on my linux-g++
> system.  All the source directories in PyQT (PyQt-x11-gpl-3.9.tar.gz)
> compile except for qtsql which gives this error:
>
> /src/PyQt-x11-gpl-3.9/qtsql# make
> g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG
> -DQT_THREAD_SUPPORT -I. -I/usr/local/include/python2.3
> -I/usr/lib/qt3/include -I/usr/X11R6/include -o sipqtsqlQSqlDriver.o
> sipqtsqlQSqlDriver.cpp sipqtsqlQSqlDriver.cpp:1247: `NamedPlaceholders' is
> not a member of type `QSqlDriver' sipqtsqlQSqlDriver.cpp:1248:
> `PositionalPlaceholders' is not a member of type `QSqlDriver' make: ***
> [sipqtsqlQSqlDriver.o] Error 1
>
> For reference, here is how I ran configure.py:
> /src/PyQt-x11-gpl-3.9/qtsql# python configure.py -n
> /src/qscintilla-1.54-x11-gpl-1.2/qt
>
> My Qt version is:
> /usr/lib/qt3/include# grep QT_VERSION_STR qglobal.h
> #define QT_VERSION_STR   "3.1.0-snapshot-20021101"
>
> Do you have any idea what's causing the compile error?  Have I missed
> something in the configuration?

PyQt does not support Qt snapshots.

Phil




More information about the PyQt mailing list