The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)
Sailfish/Python Development
(→PyQt) |
|||
Line 47: | Line 47: | ||
For Python3: | For Python3: | ||
: <code>pkcon install python-pyqt</code> | : <code>pkcon install python-pyqt</code> | ||
+ | |||
+ | = Software = | ||
+ | [https://openrepos.net/content/thp/gpodder gPodder] - downloads and manages podcasts | ||
+ | [https://openrepos.net/content/xerxes2/panucci] - audiobook and podcast player | ||
+ | [https://openrepos.net/content/rcolistete/limit-sailfish-os Limit] - free and open-source application to calculate mathematical limits | ||
+ | [https://openrepos.net/content/rcolistete/integral-sailfish-os Integral] - free and open-source application to calculate mathematical (indefinite) integrals | ||
+ | [https://openrepos.net/content/martink/modrana-0 Modrana] - flexible GPS navigation system for mobile Linux devices | ||
= Links = | = Links = |
Revision as of 09:21, 19 May 2014
Python 2.7 is provided in the "jolla" repository, and can be installed using pkcon:
-
pkcon install python
Contents |
Python 3
Starting with Sailfish OS 1.0.3.8, Python 3.3.3 and PyOtherSide are shipped in the official repositories.
-
pkcon install python3-base
Python and Qt 5
There are different options for developing Python Qt 5 apps on Sailfish OS:
- PyOtherSide: In official repositories, supports Qt 5 and Python 3. Will be supported in Harbour.
- PyQt: Available from OpenRepos.net, supports Qt 5.
- PySide: Not in official repositories or OpenRepos, as it doesn't support Qt 5 yet. If you need PySide-style bindings, use PyQt.
PyOtherSide
PyOtherSide homepage | PyOtherSide on github
Starting with Sailfish OS 1.0.3.8, PyOtherSide is now available in the official repos.
- Will be supported in Jolla Harbour "soon": https://together.jolla.com/question/6116/python-application-support-in-jolla-store-harbour/
The PyOtherSide QML plugin can be installed directly without adding any addition repos using pkcon:
-
pkcon install pyotherside-qml-plugin-python3-qt5
PyQt
PyQt homepage | PyQt for Sailfish OS on OpenRepos.net
- Available from OpenRepos.net [1].
- Not supported in Jolla Harbour.
PyQt can be installed by adding the sailfish_lib repo:
-
ssu addrepo sailfish_lib http://sailfish.openrepos.net/sailfish_lib/personal/main
-
ssu updaterepos
-
pkcon refresh sailfish_lib
For Python2:
-
pkcon install pyqt
For Python3:
-
pkcon install python-pyqt
Software
gPodder - downloads and manages podcasts [1] - audiobook and podcast player Limit - free and open-source application to calculate mathematical limits Integral - free and open-source application to calculate mathematical (indefinite) integrals Modrana - flexible GPS navigation system for mobile Linux devices
Links