View Single Post
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#1
Yes, dear friends, the wait is over, this is the real deal, PyQt 4.7 is available for the masses !


This thread is meant for the N800, N810 and N900 (up to and including PR1.1.1 firmware), or simply put devices that ship with Qt4.5. Qt4.6 support (N900 from PR1.2 onwards) will have a different support thread.

  • In Extras - available to ALL users and applications, not just bold people willing to enable extras-devel ! Finally, you can write a Qt based Python app and get it to be a proper Extras download !
  • Qt 4.5 AND Qt 4.6 - PyQt for maemo follows the Qt deployment roadmap (i.e. 4.5 support in Extras and 4.6 support in Extras-devel)
  • N800/N810/N900 support - yes, it's available and works on all Maemo devices except for the 770
  • Now with a proper demo package - no command line magic needed to start dabbling with PyQt - just download python2.5-qt4-doc from the application manager and you get a demo tour application plus all necessary modules and docs to start basic development
  • OpenGL ES support - unlike previous versions, this one sports QtOpenGL support (you might need additional GL packages !)
  • Synchronized with upstream 4.7 - whatever upstream implements, we get, too, which also means full compatibility with desktop PyQt applications
  • Smallest footprint - Uses the least amount of memory from all available Qt bindings
  • Easy upgrade path - almost completely API compatible with PySide - stuff you do in PyQt needs minimal effort to port to PySide should you decide to switch down the line

PyQt (obviously) needs Qt to work. While PyQt itself is optified, Nokia made the choice of putting Qt on the root partition, i.e. installing PyQt indirectly WILL take up about 10-15MB of root space if you do not already have the respective Qt modules installed.

There are two installable packages. For those who do not read package descriptions, here's the excerpt:
  • PyQt4 Full Install - This package contains the python extensions

    You need to install this package explicitly ONLY if you wish
    to tinker with Python yourself.

    Installing this package will install Python bindings for ALL
    available Qt modules, namely: QtAssistant, QtCore, QtDBus,
    QtDesiger, QtGui, QtHelp, QtNetwork, phonon, QtSql, QtSVG,
    QtScript, QtTest, QtWebkit, QtOpenGL, QtXML, QtXMLPatterns
  • PyQt4 Demo Python Qt bindings demos, examples and documentation

    This package contains Python-specific documentation for PyQt4
    and the Qt example programs ported to Python. It provides a
    reasonable minimum set of modules and bindings to start PyQt
    development. Installing this package will install Python
    bindings for the QtCore, QtGUI, QtXML and QtHelp modules.

The two are independently installable, order of (un)installing does not matter. Grab it while it's hot and have some Python fun !

Original sources and (a lot more) documentation available at
http://www.riverbankcomputing.co.uk/software/pyqt/intro
Attached Images
 
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc

Last edited by chemist; 2010-04-29 at 10:07.
 

The Following 46 Users Say Thank You to attila77 For This Useful Post: