[Qgis-developer] PySide (instead of PyQt) for QGIS mobile (Android) plugins

Charlie Sharpsteen chuck at sharpsteen.net
Sun Jul 10 01:20:37 EDT 2011


On Sat, Jul 9, 2011 at 5:39 PM, Noli Sicad <nsicad at gmail.com> wrote:
> Hi,
>
> I know that Python plugins is not priority or not part of the SoC QGIS
> mobile - Android.
>
> JYFI, PySide for Android is on its way.
>
> http://thp.io/2011/pyside-android/
>
> http://www.mail-archive.com/pyside@lists.pyside.org/msg00473.html
>
> Current version of PySide is API compatible with PyQt.

PySide is compatible with __Version 2__ of the PyQt API. QGIS uses
Version 1 which is incompatible. This could be changed, but would
temporarily break all Python bindings and plugins as all instances of
`QString` and `QVariant` would have to be removed and replaced with
regular Python strings and objects.

It may be a good idea in the long run to make the switch---all
Enthought backed scientific Python projects are moving to PySide and
thus Version 2 of the API along with other modules such as Matplotlib.
It would be great if these PySide/PyQt components were available for
use in QGIS plugins as it would lead to less time spend re-inventing
scientific GUI wheels and more time spent doing awesome stuff with
spatial data.


-Charlie


> I doubt PyQt has a plan for embedded / mobile devices (e.g. Android,
> Meego, etc.).
>
> Qgis dev will port PyQt for QGIS mobile python plugins?
>
> Any news of PyQt running in Android, Meego, etc?
>
> Noli


More information about the Qgis-developer mailing list