This is a static archive of the Python wiki, which was retired in February 2026 due to lack of usage and the resources necessary to serve it — predominately to bots, crawlers, and LLM companies.
Pages are preserved as they were at the time of archival. For current information, please visit python.org.
If a change to this archive is absolutely needed, requests can be made via the infrastructure@python.org mailing list.

Getting GPLed Qt/PyQt Running on Windows

Note: This page has become somewhat obsolete with the release of Qt 4.x under the GPL.

There is a new page that describes how to build PyQt4 at BuildPyQt4Windows.

Background

One of the frustrations I've always had with Qt is that current versions could not be used on Windows without paying a substantial developer fee for the license. I balked at this because

However, this has changed. The people over at the kde-cygwin project have taken the GPLed version of Qt and ported it to native Windows (i.e. it does not require Cygwin). As soon as I saw this, I immediately started to try and get PyQt to compile against this version. Amazingly, it didn't take nearly as much work as I thought it would.

Requirements

The process

Questions or comments? Email me at: jlamanna AT gmail DOT com

Page by James Lamanna - Copyright 2005


2026-02-14 16:12