[PyKDE] pyqt with qt-win-opensource-4.0.1-mingw.exe

Phil Thompson phil at riverbankcomputing.co.uk
Mon Nov 28 19:34:55 GMT 2005


On Monday 28 November 2005 7:02 pm, m.gehling at gmx.de wrote:
> Hello,
>
> i install pyqt with qt-win-opensource-4.0.1-mingw.exe on windows.
>
> some errors stop my installation, i change something, but i know my change
> is't right.
>
> 1) error 'DIR_SEPARATOR'
>
> Error: C:\Qt\4.0.1\mkspecs\win32-g++\qmake.conf: macro 'DIR_SEPARATOR' is
> not defined.
>
> I change the file c:\qt\4.0.1\mkspecs\win32-g++\qmake.conf in row  87,88,89
> from $${DIR_SEPARATOR}
> to  "\" .
>
> 2) error "qglobal.h"
>
> Error: The Qt version number could not be determined by parsing in
> C:\Qt\4.0.1\include\QtCore\qglobal.h
>
> i copy qglobal.h from C:\Qt\4.0.1\src\corelib\global to
> C:\Qt\4.0.1\include\QtCore
>
> 3) error "QtCore Qt library"
>
> Error: The QtCore Qt library could not be found in C:\Qt\4.0.1\lib
>
> i change the file configure.py in row 1358
> from   lpatts = ["lib" + lib + ".*"]
> to     lpatts = ["lib" + lib + "[0-9].*"]
>
> 4) error "MSG"
>
> qextscintillaglobal.h could not be found in C:\Qt\4.0.1\include and so the
> qtext module will not be built. If QScintilla is installed then use the -n
> argument to explicitly specify the correct directory.
> Checking to see if the QtGui module should be built...
> SIP snapshot-20051123 is being used.
> These PyQt modules will be built: QtCore.
> The PyQt modules will be installed in c:\python24\Lib\site-packages.
> The PyQt .sip files will be installed in c:\python24\sip.
> Qt v4.0.1 Desktop edition is being used.
> The Qt header files are in C:\Qt\4.0.1\include.
> The QtCore Qt library is in C:\Qt\4.0.1\lib.
> pyuic will be installed in c:\python24.
> pylupdate will be installed in c:\python24.
> Generating the C++ source for the QtCore module...
> sip: MSG is undefined
> Error: Unable to create the C++ code.
>
> i change the file qcoreapplication.sip row 173
> from   virtual bool winEventFilter(MSG *message, long *result);
> to     virtual bool winEventFilter(char *message, long *result);
>
> 5) error "HFONT"
>
> C:\Qt\PyQt4-gpl-snapshot-20051125> c:\python24\python configure.py
> qextscintillaglobal.h could not be found in C:\Qt\4.0.1\include and so the
> qtext module will not be built. If QScintilla is installed then use the -n
> argument to explicitly specify the correct directory.
> Checking to see if the QtGui module should be built...
> SIP snapshot-20051125 is being used.
> These PyQt modules will be built: QtCore.
> The PyQt modules will be installed in c:\python24\Lib\site-packages.
> The PyQt .sip files will be installed in c:\python24\sip.
> Qt v4.0.1 Desktop edition is being used.
> The Qt header files are in C:\Qt\4.0.1\include.
> The QtCore Qt library is in C:\Qt\4.0.1\lib.
> pyuic will be installed in c:\python24.
> pylupdate will be installed in c:\python24.
> Generating the C++ source for the QtCore module...
> Creating the Makefile for the QtCore module...
> Generating the C++ source for the QtGui module...
> sip: HFONT is undefined
> Error: Unable to create the C++ code.
>
> no idea to fix this ;-(.

I haven't started the Windows port yet.

Phil




More information about the PyQt mailing list