[PyKDE] PyQt 4.0.1, sip 4.4.5, Qt 4.1.4 & VS 2005
Trent Nelson
tnelson at onresolve.com
Tue Jul 18 23:58:00 BST 2006
> On Tuesday 18 July 2006 7:37 pm, Trent Nelson wrote:
> > Does anyone have PyQt 4.0.1, sip 4.4.5, Qt 4.1.4 & VS 2005 playing
> > nicely? My version of Qt 4.1.4 was built against VS 2005, and as
such,
> > deals with embedding .manifest info correctly. However, although
sip
> > contains a spec for 'win32-msvc2005', it doesn't account for
.manifests
> > (i.e. they're not embedded or copied to the target directory), so
> > nothing works.
>
> Are the manifests generated? Can you embed them manually with mt?
Yeah, I ended up doing it manually. It was a bit painful though.
> I assume you have re-built Python with VS 2005.
Yup, that did the trick. Although I did have to hack
Modules\signalmodule.c to get it to stop throwing runtime errors when it
tries to enumerate through all signals from 0 to NSIG (completely
unrelated to PyQt of course).
I found the following interesting:
ActiveState 2.4.3 python.exe:
C:\Python24>python.exe Lib\test\pystone.py
Pystone(1.1) time for 50000 passes = 0.980119
This machine benchmarks at 51014.2 pystones/second
2.4.4a Python compiled from svn with VS 2005 + profile guided
optimization:
C:\Python24>python.exe Lib\test\pystone.py
Pystone(1.1) time for 50000 passes = 0.73261
This machine benchmarks at 68249.2 pystones/second
Trent.
More information about the PyQt
mailing list