[PyKDE] Build problems in Windows

Greg Fortune lists at gregfortune.com
Sat Feb 7 20:11:01 GMT 2004


I'm trying to get a new version of PyQt built (3.9....) on Windows and I'm 
running into a strange little problem I haven't been able to solve.  I 
noticed Phil responding to a similar problem in 2002, but I think I've got 
everything set correctly according to that message.

Here's a little of the console output.  Note that I added a few debug prints 
in the build.py script to make sure things were getting set correctly.  I 
also ran sip manually to make sure that it was actually failing where I 
thought it was.



C:\WINDOWS\Desktop\PyQt-commercial-3.9>python build.py
....
....
....
******************************************************************************
Using existing features file.
******************************************************************************
mname: qt
mname: qt
plattag: WS_WIN
qttag: Qt_3_1_2
xtrtag: None
******************************************************************************
Generating the C++ source for the qt module.
******************************************************************************
config.sip_bin: C:\PYTHON23\sip.exe
argv: ['-t', 'WS_WIN', '-t', 'Qt_3_1_2', '-z', 'features', '-I', 'sip', '-m', 
'qt/qt.pro.in', '-c', 'qt', 'sip/qt/qtmod.sip']
sip: Qt::HANDLE is undefined
******************************************************************************
Error: C:\PYTHON23\sip.exe failed with an exit code of 1.
******************************************************************************

C:\WINDOWS\Desktop\PyQt-commercial-3.9>sip.exe -t WS_WIN -t Qt_3_1_2 -z 
features -I sip -m qt/qt.pro.in -c qt sip/qt/qtmod.sip
sip: Qt::HANDLE is undefined



Qt was built with default options.  Any ideas?

FYI, I'd be giving 3.10 a shot, but 3.9 is the last version for which I have a 
commercial license...

Greg Fortune
Fortune Solutions




More information about the PyQt mailing list