These bindings allow access of Qt 4.6 libraries as Python modules, making them available just using the import command.
The build process is comprised of two stages: in a first moment the bindings source code are created from the Qt 4.6 headers by calling the Generator Runner with apropriate parameters; the generated files are then compiled and linked together to form the bindings libraries.
The bindings available at the moment are listed below:
- QtCore
- QtGui
- QtHelp
- QtMultimedia
- QtNetwork
- QtOpenGL
- QtScript
- QtScriptTools
- QtSql
- QtSvg
- QtUiTools
- QtWebKit
- QtXml
- QtXmlPatterns
- Phonon
- CMake (>= 2.6.0)
- Qt4.6 libraries and development headers
- Python dev libraries
- Shiboken libraries
- Generator Runner
To build and install just follow the generic cmake instructions in section CMake primer.
Be advised that the build process can be rather lenghty because of the number of source files that will be compiled.
Note
Qt 4.6 is available for Debian in the testing branch (squeeze), Ubuntu 10.04 (Lucid Lynx), and in Maemo 5 (Fremantle) in the upcoming PR 1.2 update.
In order to compile this package in a Debian environment, make sure the following packages are installed:
And then you can build the package using:
$ dpkg-buildpackage -rfakeroot