If all you need from Qt is QML then you could happily stick to POS, if you need more than that then you would need to use PyQt. PyQt basically is a 1:1 glue layer for the Qt C++ API so you just use it as you would use any other Python module. POS is a QML plugin which means that you'll have to start your program from a few lines of C++ code and from your QML code you import the POS plugin and from there you import your Python modules. Pkcon install python-pyqt POS vs PyQt Coding Ssu addrepo sailfish_lib ssu updaterepos pkcon refresh sailfish_lib PyQt can be installed by adding the sailfish_lib repo: Pkcon install pyotherside-qml-plugin-python3-qt5 PyQt The PyOtherSide QML plugin can be installed directly without adding any addition repos using pkcon: It is supported in Jolla Harbour Store since January 7th 2015, see "Python application support in Jolla store (Harbour)" in.Starting with Sailfish OS 1.0.3.8, PyOtherSide is now available in the official repos. PyOtherSide homepage | PyOtherSide on github If you need PySide-style bindings, use PyQt. PySide: Not in official repositories or OpenRepos, as it doesn't support Qt 5 yet.It is supported in Jolla Harbour Store since January 7th 2015. PyOtherSide: In official repositories, supports Qt 5 and Python 3.There are different options for developing Python Qt 5 apps on Sailfish OS: Python3-setuptools, python-sip Python and Qt 5 Pkcon install python3-base Python 3 Modulesĭbus-python3, python3-cairo, python3-gobject Starting with Sailfish OS 1.0.3.8, Python 3.3.3 and PyOtherSide are shipped in the official repositories. Mutagen, postgresql-plpython, python-gstreamer, python-sip Python 3 Ipython, python-dateutil, python-jinja2, python-markupsafe, python-matplotlib, python-numpy, python-pyparsing, python-pytz, python-pyzmq, python-six, python-sympy, python-tornado, python-uncertainties Python-beaker, python-mako, python-markupsafe, python-numpy Python-beautifulsoup, python-coverage, python-cython, python-distribute, python-pip, python-pycurl, python-urlgrabber Python-docutils, python-imaging, python-jinja2, python-markupsafe, python-pygments, python-sphinx Pygpgme, python-cheetah, python-docutils, python-imaging, python-initparse, python-jinja2, python-markdown, python-markupsafe, python-pycurl, python-pygments, python-sphinx, python-urlgrabber The community Python modules/packages can't be used as dependencies : Pygpgme, python-cheetah, python-initparse, python-markdown, python-pycurl, python-pygments, python-urlgrabber, python-zypp In mer-tools Jolla repository (which can be enabled),īut consider that the majority of users will not enable it, so the modules below can't be used as dependencies : Python-markdown, python-setuptools, python-sip, python-solve, python-tools, python-twisted, python-yaml, python-zope-interface, rpm-python In default Jolla repositories, the modules below can be used as dependencies :īoost-python, dbus-python, libiptcdata-python, libuser-python, libxml2-python, libxslt-python, PackageKit-python, pacrunner-python, pygobject2, pyOpenSSL, python-M2Crypto, python-cairo, python-deltarpm, python-giscanner, python-imaging, python-lcms, python-lxml, python-magic, Python 2.7.5 is provided in the "jolla" repository, and can be installed using pkcon:
0 Comments
Leave a Reply. |