[SailfishDevel] QtMobility and Python bindings
otsaloma at iki.fi
Thu Jul 18 00:07:29 UTC 2013
17.07.2013 22:12, Martin Kolman wrote:
> The pyside-qtmobility build I have in home:MartinK:nemo project
> or Mer OBS worked last time I've tried it.
Thanks. Importing QtMobility at a Python prompt works.
What I was planning on doing first was trying out QGraphicsGeoMap. The
(unnecessarily complicated) example  I found segfaults already at the
QtMobility imports. Being a Python programmer, investigating import-time
segfaults isn't really my thing.
> Jolla announced a few days ago that the first Sailfish running device
> will be running Wayland and Qt5 only, dropping X11 and with it
> Qt4 support. This is unfortunately quite an issue for Python
> application development, as there are currently no Python bindings
> supporting Qt5 & QtQuick 1.0 or 2.0.
> Hopefully, the situation might improve on PyQt get's QtQuick 2.0
> support (no timeline for that just yet though), but PyQt packaging
> and PySide -> PyQt conversion would still be needed. Also in contrast
> to the LGPL PySide, PyQt is GPL only, which might be an issue to some
> In comparison, while there has been some recent activity in the
> PySide project, it has been so far limited to bugfixing and work on
> Qt5 support has not yet been started.
Not being familiar with Qt, I thought (or hoped) Nokia's weight had
already resolved the Python binding problem and that PySide was somewhat
an official and maintained part of Qt. I guess I was wrong. A useless
I guess I better hold off on writing any Python code. In addition to
what you mention, I suppose there's a switch to Python 3 around the
corner (or at least should be by now).
Osmo Salomaa <otsaloma at iki.fi>
More information about the Devel