[PyQt] Re: Building with Visual Studio 2008

Phil Thompson phil at riverbankcomputing.com
Tue May 20 09:31:47 BST 2008


On Tuesday 20 May 2008 00:50:42 Kevin Watters wrote:
> > As far as I can see SIP embeds the manifest in the executable so it is
> > not necessary to install it. If I don't run mt on the exe then it fails
> > to run. If I do then it runs - irrespective of whether the manifest is
> > installed or not.
>
> I second this--I had to add the following post-build steps to my scripts:
>
> cd sipgen
> mt.exe -manifest sip.exe.manifest -outputresource:sip.exe;1
> cd ..
>
> cd siplib
> mt.exe -manifest sip.pyd.manifest -outputresource:sip.pyd;2
> cd ..
>
> >From what I could tell, nmake doesn't do this part for you. (FYI, The ;1
> > means
>
> "exe" and the ;2 means "dll.")
>
> Might be worth incorporating to make people's lives easier on MSVC2008.

I have tested current SIP and PyQt snapshots building Python 2.6a3 with 
MSVC2008 and everything seems fine. SIP has a new win32-msvc2008 platform 
which is the default when using Python 2.6.

Phil


More information about the PyQt mailing list