[PyKDE] Qt 4.0.1 + SIP 4.3.2 for Python 2.4.2 configure ERORR

Phil Thompson phil at riverbankcomputing.co.uk
Thu Nov 24 13:19:01 GMT 2005


> Hello,
>
> to test pyqt4, i install mingw, qt 4.0.1 on win xp.
>
> next, i install sip 4.3.2 with this error
>
>> python configure.py -p win32-g++
> This is SIP 4.3.2 for Python 2.4.2 on win32.
> Error: qglobal.h could not be found in C:\Qt\4.0.1\include.
>
> yes, the file qglobal.h could not be found in C:\Qt\4.0.1\include, the
> file
> exits in
> C:\Qt\4.0.1\include\Qt
>
> so, i change configure.py line 352 to
>       qglobal = os.path.join(qt_incdir, "qt\qglobal.h")
> the next result is
>
>> python configure.py -p win32-g++
> This is SIP 4.3.2 for Python 2.4.2 on win32.
> Error: The Qt version number could not be determined by parsing in
> C:\Qt\4.0.1\include\qt\qglobal.h
>
> is my qt installtion wrong ?

You need the current SIP snapshot - except that the current PyQt3 and
PyQt4 snapshots are broken. They should be fixed in the next couple of
days or so.

Phil




More information about the PyQt mailing list