Unofficial Windows Binaries for Python Extension Packages. Requires numpy+mkl, scipy, matplotlib, pyqt4, libsvm, vigra, qimage2ndarray, h5py, pandas. Configuring SIP and PyQt4 for MacOS ¶. For example, if your Qt installation is 32 bits, and your Python installation is 32 bits and 64 bits then you will need to specify --use-arch i386 to ensure that pyuic4 runs the 32 bit version of Python.
The interactive file manager requires Javascript. Please enable it or use sftp or scp.
You may still browse the files here.
You may still browse the files here.
Get project updates, sponsored content from our select partners, and more.
Name | Modified | Size | InfoDownloads / Week |
---|---|---|---|
Parent folder | |||
PyQt4-4.11.4-gpl-Py3.4-Qt5.5.0-x64.exe | 2015-08-01 | 44.9 MB | |
PyQt4-4.11.4-gpl-Py3.4-Qt5.5.0-x32.exe | 2015-08-01 | 39.8 MB | |
PyQt4-4.11.4-gpl-Py3.4-Qt4.8.7-x64.exe | 2015-06-11 | 32.8 MB | |
PyQt4-4.11.4-gpl-Py3.4-Qt4.8.7-x32.exe | 2015-06-11 | 29.8 MB | |
PyQt4-4.11.4-gpl-Py2.7-Qt4.8.7-x64.exe | 2015-06-11 | 33.1 MB | |
PyQt4-4.11.4-gpl-Py2.7-Qt4.8.7-x32.exe | 2015-06-11 | 29.5 MB | |
PyQt-x11-gpl-4.11.4.tar.gz | 2015-06-11 | 11.3 MB | |
PyQt-win-gpl-4.11.4.zip | 2015-06-11 | 13.6 MB | |
PyQt-mac-gpl-4.11.4.tar.gz | 2015-06-11 | 11.3 MB | |
Totals: 9 Items | 246.0 MB | 251 |
:Date: 2007-07-11:Author: Martin Blais [email protected]:Abstract:
This document contains instructions on building PyQt under Windows,using the pre-built binary version of Qt installed via itsinstaller.
:Source: http://www.diotavelli.net/PyQtWiki/BuildPyQt4Windows
Typically, you want to built the PyQt snapshots when it is lagging alittle bit behind the Qt release. When I wrote this document, I wantedto build PyQt for Qt-4.3.3 and there was no binary at that time.
See this thread for more details:http://www.mail-archive.com/pyqt%40riverbankcomputing.com/index.html#11081
Note: follow these instructions to-the-letter. This is Windows. Anyslight variation might throw you off.
Versions
This document is up-to-date for the following versions:
- Qt-4.3.3
- Python-2.5
- MinGW-5.1.3
- SIP snapshot as of 2007-07-11
- PyQt4 snapshot as of 2007-07-11
Installing Qt
- Grab the binary installer (.exe) for the latest Qt release onTrollTechs webpage.
- Execute the installation, with or without MinGW depending on if youalready have it.
This will place Qt in
C:Qt<version>
by default.Installing Python
- Download the Python MSI binary from the python.org website and runit, and install it (typically in
C:Python25python.exe
). - Add the Python25 folder to your path
Installing MinGW
You will need an install of MinGW that contains
mingw32-make.exe
.Install MinGW using the binaries from the MinGW website. I placedmine in C:MinGW
.- Make sure you have::C:MinGWbin/mingw32-make.exeC:MinGWbin/g++.exe
Setting up for Build
You MUST use the
cmd.exe
shell, and not Cygwin's bash nor MinGWnor MKS not anything else.Start
cmd.exe
and set your PATH to something clean that containsboth MinGW and Qt::set PATH=C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Qt4.3.3bin;C:MinGWbin
Verify your PATH configuration by running these two commands::
g++ -vqmake -v
Building and Installing SIP
- Download and unpack the SIP snapshot source for Windows.
- Configure it, making sure to use the
-p
option (otherwise thebuild runs in an infinite loop)::C:tmpsip-snapshot-20070704> C:/Python25/python configure.py -p win32-g++C:tmpsip-snapshot-20070704> mingw32-makeC:tmpsip-snapshot-20070704> mingw32-make install
This should install the following files in your Python library::
C:Python25includesip.hC:Python25Libsite-packagessip.pydC:Python25Libsite-packagessipconfig.pyC:Python25Libsite-packagessipconfig.pycC:Python25Libsite-packagessipdistutils.pyC:Python25sip.exe
Building and Installing PyQt
Using the same shell setup as above,
- Your path should look something like this:C:Qtbin;C:MinGWbin;C:Python25;C:MinGWlibexecgccmingw323.4.2
*** Note: MinGW must be inside C:MinGW, it doesn't work if you move it ***
- Download and unpack the PyQt4 snapshot source for Windows.
- Configure it::C:tmpPyQt-win-gpl-4-snapshot-20070710> C:/Python25/python configure.py -wDetermining the layout of your Qt installation...C:Qt4.3.3binqmake.exe -o qtdirs.mk qtdirs.promingw32-make -f qtdirs.mk releasemingw32-make -f qtdirs.mk.Releasemingw32-make[1]: Entering directory
C:/tmp/PyQt-win-gpl-4-snapshot-20070710' g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE [...] g++ -enable-stdcall-fixup -Wl,-enable-auto-import [...] lqtmain -lQtCore4 mingw32-make[1]: Leaving directory
C:/tmp/PyQt-win-gpl-4-snapshot-20070710'releaseqtdirs.exeThis is the GPL version of PyQt 4-snapshot-20070710 (licensed under the GNUGeneral Public License) for Python 2.5 on win32.Type 'L' to view the license.Type 'yes' to accept the terms of the license.Type 'no' to decline the terms of the license.Do you accept the terms of the license? yesChecking to see if the QtGui module should be built...g++ -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -I. -IC:Qt4.3.3mkspecsdefault [...][...]This should complete succesfully.Note: you should not have to set any variable. QTDIR is nowobsolete. QMAKESPEC should be found automatically, but if it is not,you can probably safely use the-p win32-g++
option. - Compile it::C:tmpPyQt-win-gpl-4-snapshot-20070710> mingw32-make
- Install it::C:tmpPyQt-win-gpl-4-snapshot-20070710> mingw32-make install
This should install the following files::
C:/Python25C:/Python25/Lib/site-packagesC:/Python25/Lib/site-packages/PyQt4C:/Python25/Lib/site-packages/PyQt4/pyqtconfig.pyC:/Python25/Lib/site-packages/PyQt4/Qt.pydC:/Python25/Lib/site-packages/PyQt4/QtAssistant.pydC:/Python25/Lib/site-packages/PyQt4/QtCore.pydC:/Python25/Lib/site-packages/PyQt4/QtDesigner.pydC:/Python25/Lib/site-packages/PyQt4/QtGui.pydC:/Python25/Lib/site-packages/PyQt4/QtNetwork.pydC:/Python25/Lib/site-packages/PyQt4/QtOpenGL.pydC:/Python25/Lib/site-packages/PyQt4/QtScript.pydC:/Python25/Lib/site-packages/PyQt4/QtSql.pydC:/Python25/Lib/site-packages/PyQt4/QtSvg.pydC:/Python25/Lib/site-packages/PyQt4/QtTest.pydC:/Python25/Lib/site-packages/PyQt4/QtXml.pydC:/Python25/Lib/site-packages/PyQt4/uicC:/Python25/Lib/site-packages/PyQt4/uic/CompilerC:/Python25/Lib/site-packages/PyQt4/uic/LoaderC:/Python25/Lib/site-packages/PyQt4/uic/widget-pluginsC:/Python25/Lib/site-packages/sip.pydC:/Python25/Lib/site-packages/sipconfig.pyC:/Python25/Lib/site-packages/sipconfig.pycC:/Python25/pylupdate4.exeC:/Python25/pyrcc4.exeC:/Python25/pyuic4.batC:/Python25/sipC:/Python25/sip/PyQt4C:/Python25/sip/PyQt4/QtC:/Python25/sip/PyQt4/Qt/Qtmod.sipC:/Python25/sip/PyQt4/QtAssistantC:/Python25/sip/PyQt4/QtCoreC:/Python25/sip/PyQt4/QtDesignerC:/Python25/sip/PyQt4/QtGuiC:/Python25/sip/PyQt4/QtNetworkC:/Python25/sip/PyQt4/QtOpenGLC:/Python25/sip/PyQt4/QtScriptC:/Python25/sip/PyQt4/QtSqlC:/Python25/sip/PyQt4/QtSvgC:/Python25/sip/PyQt4/QtTestC:/Python25/sip/PyQt4/QtXml
Run Python and import PyQt4 to test it::
C:tmpPyQt-win-gpl-4-snapshot-20070710>C:/Python25/pythonPython 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win32Type 'help', 'copyright', 'credits' or 'license' for more information.
from PyQt4.Qt import *from sip import *print SIP_VERSION_STR, QT_VERSION_STR, PYQT_VERSION_STR