[PyQt] Build PyQt 4.8.5 with VS 2010

Phil Thompson phil at riverbankcomputing.com
Wed Feb 29 16:55:06 GMT 2012

On Wed, 29 Feb 2012 17:39:48 +0100, Ivano Vottero
<Ivano.Vottero at cpscolor.com> wrote:
> Hello to all,
> I would like to know if it is possible to build SIP 4.12.4 and PyQt
> for Qt 4.7.3, using Visual Studio 2010
> I'm using Python version 2.5
> I've read that, for the Python version, only VS 2008 is compatible, it
> true?

Strictly speaking you should use MSVC.NET to build extensions for Python
v2.5. MSVC 2008 should be used for Python v2.6 and later. This only applies
if you are using the Windows installers from python.org. If you are
compiling Python yourself you can use (in theory) any compiler. The reason
is that the runtimes are not binary compatible particularly (if I remember
correctly) in relation to file handling.

Having said that I switched to using MSVC 2008 for the PyQt Windows
installers for Python v2.4 and v2.5 about a year ago and nobody has


More information about the PyQt mailing list