[PyKDE] libqtc 2.4 for win32 available

Doug Bell dougbell at mnsinc.com
Sat Jun 30 22:22:40 BST 2001


Simon Cusack wrote:
> Hi,
> 
> After getting requests on this list for compiled version of libqtc.dll, I have put up a description of how I 
> built pyqt 2.4 with Borland C++ and a compiled libqtc.dll up on the web at
> 
> http://www.bluevolt.com/projects/pyqt/
> 
> Let me know if there are any problems.
> 
> Regards, Simon Cusack.

Thank you, Simon!  You saved me from obsessing with trying to get pyqt
built on windows.

Since I don't have Borland C++ (only MSVC on Windows, unfortunately),
the build instructions didn't work for me, but the dll you compiled
works like a charm!

I did manage to get both the dll and static versions of SIP built with
some minor Makefile mods, but I never did get pyqt itself to link
successfully.  

For those trying still trying to compile on MSVC, here are the
Makefile changes for SIP:
Add qt-mt230nc.lib qtmain.lib qutil.lib to LIBS = ...
Add -DQT_DLL -DQT_THREAD_SUPPORT to CFLAGS = ... and to CXXFLAGS = ...
And don't forget to delete the object files from previous failed
builds before trying again.

For compiling pyqt, you're on your own - I could never get it to link.

By the way, here's another advantage of pyqt:  the non-commercial
version of Qt adds "[Freeware]" to all window captions when using C++,
but pyqt seems to avoid this ugly addition.

Doug.




More information about the PyQt mailing list