[PyKDE] Re: Status of PyQt4 on Windows

m.gehling at gmx.de m.gehling at gmx.de
Tue Jan 10 14:56:52 GMT 2006

Hello Phil, 

Phil Thompson schrieb: 

> I am now generating PyQt4 snapshots for Windows - both commercial and GPL
> versions. 
> The commercial version builds and installs using the pre-built version of Qt
> for MSVC v7. However it doesn't run - it crashes when importing QtCore. 
> The GPL version of Qt requires MinGW. I haven't yet tried building PyQt4 with
> this. 
> Feel free to play and give me any feedback. 

i can build PyQt4 with MinGw ( with very small changes ). And it crashes 
when importing QtCore. 


ps. I`m a newbie, so i change some files for me ;-). 


Error: C:\Qt\4.1.0\mkspecs\win32-g++\qmake.conf: macro 'DIR_SEPARATOR' is 
not defined.
in file c:\qt\4.1.0\mkspecs\win32-g++\qmake.conf
row 87,88,89 $${DIR_SEPARATOR} replace with "\" 


Error: The QtCore Qt library could not be found in C:\Qt\4.1.0\lib.
in file configure.py zeile 835
from   lpatts = ["lib" + lib + ".*"]
to     lpatts = ["lib" + lib + "[0-9].*"]
( all my library call lib<*>4.a ) 

This is the GPL version of PyQt snapshot-20051123 (licensed under the GNU
General Public License) for Python 2.4.2 on win32.
An internal error occured.  Please report all the output from the program,
including the following traceback, to support at riverbankcomputing.co.uk.
Traceback (most recent call last):
File "configure.py", line 1516, in ?
File "configure.py", line 1463, in main
File "configure.py", line 1015, in check_license
  error("You cannot use the GPL version of PyQt under Windows.")
NameError: global name 'error' is not defined
file configure.py zeile 923
from        check_license()
to          #check_license() 

More information about the PyQt mailing list