[maemo-developers] New PySide and QtMobility bindings for Maemo!

From: Luciano Wolf luciano.wolf at openbossa.org
Date: Mon Nov 1 02:16:49 EET 2010
The PySide team is happy to announce new binary packages for PySide
and QtMobility bindings - Maemo version. This release is built against
the PR1.3 SDK and fully supports the new features in Qt 4.7!

There were some package names change to follow the new debian scheme
adopted by the desktop version. Any package depending on
pyside-qt4-<module> should depend on python-pyside.<module> from now
on. The same rule applies to QtMobility packages. They were changed
from pyside-mobility-<module> to python-qtmobility.<module>.

To avoid old application from breaking, transitional metapackages were
also provided.

The packages have already been uploaded to extras-devel. To begin Qt
development on Python for N900, just install the python-pyside /
python-qtmobility metapackages and start rocking!


About PySide
============

PySide is the Nokia-sponsored Python Qt bindings project, providing
access to Qt 4.7 framework, as well as to generator tools for rapidly
generating bindings for any Qt-based libraries.

The PySide project is developed in the open, with all facilities you'd
expect from any modern OSS project such as all code in a git
repository[2], an open Bugzilla[3] for reporting bugs, and an open
design process[4]. We welcome any contribution without requiring a
transfer of copyright.

Major changes since 0.4.1
=========================

The current focus in the development is to stabilize the bindings in
anticipation of the 1.0 release. Hence, PySide 0.4.2 is mainly a
bugfix release: in total, 49 bugs have been resolved!

In addition to the bugfixes, Qt meta-object properties are now
properly supported. See PSEP 103 [5] for details.

List of bugs resolved
=====================

405     Cant do binary operations on flags
403     QtXml fails to compile
402     Exceptions raised in event methods aren't printed to console
until termination
398     abstractmetabuilder.cpp line 2095 "or" should be ||
397     Signal signature confusion when using typedef
396     Crash when using multiple layouts.
390     Missing qRegisterMetaType()
389     Chained method calls fail: Internal C++ object already deleted
388     Fatal Python error: PyEval_SaveThread: NULL tstate
386     NUL, SOH, and other characters in generated code
385     Windows build error (MSVC Express 2008)
384     Global enum values are missing
382     QPyTextObject was not declared in this scope
379     QGLWidget.bindTexture is missing
378     Segmentation fault in PySide::signalUpdateSource if you set an
attribute before calling super __init__()
376     load() does not append to the object namespace the names of
the widgets loaded from a ui file
375     Just an empty table when using delegate.
374     simple types like QPoint lack a __cmp__ function, making them unhashable
373     Segfault with color editor factory example
372     DiagramScene (GraphicsView) Example not working
371     Support python types from datetime module in QDate, QDateTime, QTime
370     Proper type system tag nesting
368     Inconsistent naming scheme in pyside-tools
367     Adding nested items to QStandardItemModel fails in C++-Layer
366     Generating wrong code for overloads with 0 or 1 arguments and
ownership transfer
365     Generatorrunner segfaults in AbstractMetaType::minimalSignature()
363     Connecting slot to signal emitted by a QDesktopWidget obtained
via QApplication.desktop()
361     Missing QNetworkDiskCache
360     QUiLoader.createWidget() returns QWidget object for all widgets
355     phonon bindings don't build with PySide 0.4.1
354     QWebView.setPage() does not seem to work
352     PySide cannot be built against non-Apple Python installations
349     Development version reference documentation is older than the
stable version
348     QState.addTransition not working with PyQt examples
347     Setting properties in constructors gives incorrect results
341     building of PySide (pyside-qt4.6+0.4.0) from source broken on
Mac OS X 10.6.4
339     RuntimeError when accessing mousepress event object
332     QMutex fails with 'bad argument to internal function'
330     Generated documentation still refers to QStrings
328     Phonon.BackendCapabilities.Notifier has no signals
322     Some QAction.triggered signals connected to slots with no arguments fail
313     QTimer.singleShot should accept Signal objects
310     Documentation states wrong return type for QDate.weekNumber
286     Support library postfix in FindShiboken.cmake
285     Unable to declare anonymous enums in the typesystem file
280     Updating PySide 0.4.0 from extras-devel repository report error
267     Provide human-readable object strings (__repr__)
245     Documentation is not buildable with system libqt4-dev
168     API documentation suggestions
109     PySide Mac OS X package broken on 10.6.2

Note to packagers and binding developers
========================================

Even though this release is ABI-compatible with the previous one, we
recommend you to rebuild any binding packages generated with Shiboken
with the latest toolchain nevertheless. Due to our binding generation
scheme, the binding code is generated at build time using the
toolchain. Therefore, while the existing bindings continue to work,
the numerous bugfixes and improvements in the toolchain do not get
propagated to the bindings without a rebuild.

Acknowledgements
================

We'd like to thank our community members for all the assistance and
participation. This time, the special mention goes to Roman Lacko for
taking the thankless task of maintaining the Windows packages of
PySide!

References
==========

[1] http://developer.qt.nokia.com/wiki/PySideDownloads
[2] http://qt.gitorious.org/pyside
[3] http://bugs.openbossa.org/
[4] http://www.pyside.org/docs/pseps/psep-0001.html
[5] http://www.pyside.org/docs/pseps/psep-0103.html

PySide team
More information about the maemo-developers mailing list