Skip to main content

PyQt v4.5 released

Posted in

Riverbank Computing has announced the release of version 4.5 of PyQt, their Python bindings for Qt 4. Major changes:

  • support for Python v3
  • support for Qt v4.5.1
  • added the QInputContextFactory class
  • a new, more Pythonic, API has been added for connecting signals and slots which does not require knowledge of C++ data types
  • new signals can now be defined using pyqtSignal as a more Pythonic replacement of the pyqtSignals class attribute.
  • added the pyqtSlot decorator as a more Pythonic replacement of the pyqtSignature decorator
  • the "type" argument to pyqtProperty() can also be a Python type object
  • the "type" argument to Q_ARG() can also be a Python type object
  • the "type" argument to QRETURNARG() can also be a Python type object
  • added QTTRNOOP_UTF8()
  • super() works without restrictions
  • replaced the old qtdemo example launcher with a port of the newer version
  • added the editabletreemodel.py and fetchmore.py examples
  • replaced the old tutorial with the newer Address Book tutorial.

Downloads here. Available under the GPL (v2 or v3) or a commercial licence, as was Qt.