21

Does anyone know if we can develop apps for ubuntu for phones in Python ?

PyQT / PySide would seem to support also QML. But can we use them on the phones ?

1

4 Answers 4

11

It's true that PySide's future on Qt 5 is uncertain, but that's not the case for PyQt. So technically, it should be possible to do this.

Then there's the point of politics: Canonical said they will release the source code for Ubuntu Phone in due time, so it's very likely that someone hacks support for Python in it after that. If Canonical itself will support that is not clear yet, as far as I'm aware they didn't make a statement on that yet. Nor is it clear for any OEMs/operators (because there aren't any (known) yet).

UPDATE: Canonical released the source (as expected), and some operators are known now. It seems like Canonical's not planning to add Python support for the SDK themselves (at least for now), but that they're open to contributions. (Source.)

1
  • This answer needs to be updated: all the Ubuntu Touch code has been open for a few months, and development is happening completely in the open. Jun 30, 2013 at 11:40
5

The problem is, that you also need the Python Qt bindings - PySide. Unfortunately the project is not in a good shape and there is almost no work on Qt5 support AFAIK. So it is not really clear if it will be possible to use Python to develop mobile apps. Currently the SDK seems to only support C++.

1
  • PyQt works fine.
    – LtWorf
    Dec 27, 2015 at 8:31
4

I may not have the answer, but since they said you will be able to program your application with desktop languages like C/C++, and they have partners like Unity 3D and else, I think it means Ubuntu for phones is compatible with any languages already compatible with Ubuntu desktop. It must be a matter of installing the python libraries...

-1

Yes, You can use multiple programming languages, but Python is the recommended one http://developer.ubuntu.com/resources/programming-languages/python/

update: it used to be the recommended language https://web.archive.org/web/20130524092542/http://developer.ubuntu.com/resources/programming-languages/python

... when writing something new we recommend using Python.
1
  • 1
    Interesting. Now it seems that they favour Html/Cordova and Qml apps over python.
    – J.Serra
    May 4, 2016 at 22:43

Not the answer you're looking for? Browse other questions tagged .