[PyQt] Re: PyQt 4.5 snapshot build (windows and mac)

Phil Thompson phil at riverbankcomputing.com
Sun May 17 12:59:41 BST 2009


On Sun, 17 May 2009 13:51:13 +0200, Michael Held
<michael.held at bc.biol.ethz.ch> wrote:
> Andreas Pakulat wrote:
>> On 17.05.09 09:13:45, Magnus Benjes wrote:
>>>> I was not aware that PyQt goes with mingw32 (what about VC9?). using
>>>> mingw which came with Qt4.5 I could build SIP and PyQt (still
>>>> compiling)
>>>> successfully. this article was really helpful:
>>>> http://diotavelli.net/PyQtWiki/BuildPyQt4Windows
>>> There is a build in binary incompatibility between the comercial
version
>>>
>>> of Qt and the open source version on Windows. The open source version
is
>>>
>>> built with Mingw and the comercial version is built with VC. If you
want
>>>
>>> to use Qt with VC you have to buy a comercial licence.
>> 
>> No you don't. Both the GPL and LGPL version of Qt4 build just fine with
>> MSVC 2005 or later (IIRC MSVC is supported in the GPL version since
4.3).
>> 
>> Andreas
>> 
> 
> hi andreas,
> 
> thanks for your infos. I installed the non-commercial Qt4.5 binaries and
> the PyQt4.5 snapshot, but running nmake for VC9express did only compile
> the qtdirs.exe but nothing else, while mingw32-make did the full job.
> could it be that Configure.py needs more arguments to setup for VC9?
> 
> actually mingw is fine for me, or are there serious implications I do
> not know about?

If you are switching between compilers then make sure you re-build SIP
first with the correct -p flag.

I use MSVC2008 Express because it's the same compiler used to build Python
and it builds Phonon.

Phil


More information about the PyQt mailing list