14 September 2011

General information on python development tools

There are several libraries for developing GUI's using python. My interest is in cross-platform libraries. Here are some references:

There is a comprehensive list of GUI's to use with python in GUI Programming in Python. For a list of IDE's see Integrated Development Environments for python.

Qt with python

PyQt is a Python binding of the cross-platform GUI toolkit Qt. There are other bindings too, like PySide.

Official PyQt web

Installation of PyQt4

The needed packages under a debian-like distribution are:

sudo aptitude install qt4-doc qt4-doc-html qt4-demos qt4-designer

For development with python:

sudo aptitude install python-qt4 qt4-designer  \
    pyqt-tools pyqt4-dev-tools python-qt4-gl

If using Qt-Designer version 4 the generated *.ui file should be converted to python code using pyuic4 and not pyuic (this is for Designer 3). The pyuic4 is in package pyqt4-dev-tools and pyuic is in package pyqt-tools.

Installing local help

Install the following packages to get the help installed locally:

sudo aptitude install qt4-doc qt4-doc-html qt4-demos qt4-dev-tools \
    python-qt4-doc

The installed documents are in:

There is a GUI application to browse the help files that makes it possible global searches and index: assistant-qt4

References to online documentation

Tutorials and introductions:

Related tags: python