[PySide] building pyside on vs2012 + qt4.8.4 + python 2.7.3 ?

peter_karasev at agilent.com peter_karasev at agilent.com
Fri Sep 13 08:12:12 CEST 2013

Not exactly. To step back a bit, I see that the linux instructions involve cmake: 
(and this works great, I got pyside + boost::python both running in an embedded shell in my application and so on) 

But, the windows build instructions don't running cmake manually (presumably it gets called from the scripts): 
Are these instructions just wrong? Should I expect mirroring the linux instructions on windows to work mostly the same? I guess I will start to dig into the pyside-setup scripts at this point ...  it is also possible that I have a %PATH% issue, mine is basically empty since there are too many versions of DLLs on the computer. 

-----Original Message-----
From: Owen Kelly [mailto:owensother at sympatico.ca] 
Sent: Thursday, September 12, 2013 5:17 PM
To: KARASEV,PETER (A-WestlakeVillage,ex1)
Subject: RE: [PySide] building pyside on vs2012 + qt4.8.4 + python 2.7.3 ?

Not sure if this is what you mean, but I am able to force cmake to do 2008 builds like this:

cmake .. -G "Visual Studio 9 2008"

maybe there is a similar string for the MSVC version that you are targeting.

-----Original Message-----
From: pyside-bounces+oekelly=ieee.org at qt-project.org
[mailto:pyside-bounces+oekelly=ieee.org at qt-project.org] On Behalf Of peter_karasev at agilent.com
Sent: September-12-13 6:58 PM
To: pyside at qt-project.org; contact at pyside.org
Subject: [PySide] building pyside on vs2012 + qt4.8.4 + python 2.7.3 ?


It would be nice if I can compile pyside on visual studio 2012 with QT 4.8.4 and python 2.7.3, both of which are also compiled with vs2012 x64.  Has anyone done this in the past, there must be some modified step to take in the setup? 

In particular, I suspect that some CMake steps try to infer the compiler version from the python version, which is wrong in this case-  2.7.3 python is custom build on the vs2012 compiler. Any info is appreciated, and I'll be happy to share any modified build config files if I get it going satisfactorily. 

     Peter A. Karasev

PySide mailing list
PySide at qt-project.org

More information about the PySide mailing list