![]() |
Re: Python & Qt5 on Sailfish
Quote:
I've tried different versions of Python and none work, I've had to explicitly give it the command since no matter what I set : Quote:
|
Re: Python & Qt5 on Sailfish
Some more updated information about :
1) Python on Sailfish : - it has a wiki Sailfish/Python Development page; - Python 3.3.3 (and later 3.4.0) is in Sailfish official repositories since Sailfish v1.0.3.8 (31/01/2014); - it can be installed as a dependency for other software (gPodder, etc) or by manual installation with : $ pkcon install python3-base - it is expected to be accepted in Jolla Harbour "soon". 2) PyOtherSide (http://thp.io/2011/pyotherside/) : - is in Sailfish official repositories since Sailfish v1.0.3.8 (31/01/2014); - it can be installed as a dependency for other software (gPodder, etc) or by manual installation with : $ pkcon install pyotherside-qml-plugin-python3-qt5 - has newer versions 1.1 and 1.2 released in 2014; - is being used by more than 10 Sailfish softwares, and by BlackBerry (10) softwares; - it is expected to be accepted in Jolla Harbour "soon"; - it as available in Arch Linux repositories and Ubuntu PPA; - it is cited by the wiki Sailfish/Python Development page. 3) PyQt 5.1.1 : - is available in OpenRepos.net, with version for Python 2.7 (pyqt) and version for Python 3 (python-pyqt); - it is cited by the wiki Sailfish/Python Development page. So Python 3 & Qt 5 development is well supported in Sailfish, so it is time for Python developers to release their softwares for Sailfish. :cool: |
Re: Python & Qt5 on Sailfish
As far as I understand, PyOtherSide is only available for python 3. That's fine, I like python 3. But there aren't many more python 3 packages, so you're restricted to python-base?
|
Re: Python & Qt5 on Sailfish
Quote:
|
Re: Python & Qt5 on Sailfish
OK, great. It's not a big problem for right now since I'm mostly playing around and can always use C++ if I do something serious.
And I'm getting a bit impressed by QML, some rather powerfull stuff can be done. |
Re: Python & Qt5 on Sailfish
Quote:
|
Re: Python & Qt5 on Sailfish
Quote:
Could you make it more explicit that python-pyqt on OpenRepos.Net is for Python 3 ? The only mention is the 1st line after the "%build". I've updated the post #83. |
Re: Python & Qt5 on Sailfish
I updated the wikipage now with regards to pyqt and also added a software section where we could list all available python apps for sailfish, I found six so far. And hopefully plenty in the oven too. :)
https://wiki.merproject.org/wiki/Sai...pment#Software |
Re: Python & Qt5 on Sailfish
Quote:
https://wiki.merproject.org/wiki/Sai...pment#Software Source-code (GitHub) links were placed when available, they are very useful to other developers to see other softwares as code examples. |
Re: Python & Qt5 on Sailfish
Yeah it looks good ... and so many Python apps already. 13-1 in favor of pos vs pyqt. :) And I added a little bit more info about the differences between pos and pyqt. Feel free to edit/add more info if you like. I never really used pos so I don't know that much about it.
And does anyone know about the situation of introspection in Sailfish? I can't seem to find it so it may not exist at all. If not we must get Jolla to add introspection support for packages they maintain in core Sailfish. I can make an example already that I'll need and that is Gstreamer-1. But the whole G stack with Glib, Gio, Cairo, Pango, Telepathy and possibly some more are only supported from Python with introspection and it would be nice if Jolla would support these with -intro packages. And if anyone is missing Python libs just ask and I'll try to package them for you. They must be compatible with core Sailfish though as I'll not upgrade such packages. |
Re: Python & Qt5 on Sailfish
|
Re: Python & Qt5 on Sailfish
Updated 1st post, citing the Sailfish/Python Development wiki page. This wiki page now lists Python 2/3 modules available for Sailfish.
|
Re: Python & Qt5 on Sailfish
PyOtherSide was updated in July to version 1.3.0.
PyOtherSide is now available in Debian and Ubuntu repositories. |
Re: Python & Qt5 on Sailfish
Python 3.4 and PyOtherSide will soon be available in Jolla App Store :
#mer-meeting: SailfishOS, open source, collaboration: 25-November @ 15:00 UT Full logs : Quote:
|
Re: Python & Qt5 on Sailfish
Softwares using Python/PyOtherSide as dependencies will be accepted by Jolla Harbour Store from 7th January 2015 :
- Jolla Harbour Store has since 15/12/2014 the long pending multiversion support, needed by PyOtherSide (in Sailfish repositories only since 1.0.3.8) : [SailfishDevel] Changes in Harbour Web UI - Fri Dec 12 15:41:09 UTC 2014 Quote:
[Release notes] Software version 1.1.1.27, Vaarainjärvi. Quote:
Quote:
|
Re: Python & Qt5 on Sailfish
As said above, the Sailfish SDK Beta 1412 was released today. So Python softwares can be built with it, and sent to Jolla Harbour next Wednesday (January 7th 2015).
|
Re: Python & Qt5 on Sailfish
Python/PyOtherSide support in Jolla Harbour Store since January 7th 2015 was confirmed in "#mer-meeting: SailfishOS, open source, collaboration meeting: 7-January 2015" :
Quote:
The together.jolla.com topic "Python application support in Jolla store (Harbour)" was updated : Quote:
- gPodder 4.4.0 in January 8th 2015; - Perth Trains 0.9.6 in January 9th 2015. |
Re: Python & Qt5 on Sailfish
Tutorial "Create and build Python app for Sailfish" in german.
With a "Dummy Project for Sailfish OS" source code in GitHub as a simple example of Python app for Sailfish OS. It was announced in Twitter. |
Re: Python & Qt5 on Sailfish
Quote:
|
Re: Python & Qt5 on Sailfish
Is there any way to offer translation for a pure PyOtherSide/QML application?
|
Re: Python & Qt5 on Sailfish
Ok, I found a way that worked for me!
If you use sailfish-qml to start your PyOtherSide/QML application you have to place your qm-translation files in a folder called translations. Translation files are supposed to be named "<appname>-<lang>.qm" in "/usr/share/<appname>/translations/" That works for me, found it at the source code of sailfishlib project: https://github.com/sailfish-sdk/libs...shapp_priv.cpp |
Re: Python & Qt5 on Sailfish
Hello.
I've tried to install PyQt on Jolla, but got the error about failed dependencies: "Qt5Multimedia.WIdgets.so.5 is needed by python-pyqt-5.1.1-1.armv7hl" And the same error occurs while trying to install Panucci. Is there a way to install the missing module? |
Re: Python & Qt5 on Sailfish
Quote:
|
Re: Python & Qt5 on Sailfish
Why is Jolla so reluctant to support PyQt5 in Harbour?
|
Re: Python & Qt5 on Sailfish
Quote:
In any case it would be a good idea to raise the issue on the Community Meeting. :) |
Re: Python & Qt5 on Sailfish
I've just submitted a merge request for updating PyOtherSide in Sailfish OS from 1.4 to 1.5:
https://git.merproject.org/mer-core/...rge_requests/2 If it is accepted by maintainers it these are the main features that will be available to Python application developers:
|
Re: Python & Qt5 on Sailfish
My PyOtherSide update request (to version 1.5.1) has been merged, and should be (according to Larstiq on IRC) part of the Sailfish OS Update that comes after the next one (2.1.0 + 2 updates). So let's hope the Sailfish OS update cycle speeds up now that Qt 5.6 is in and we can soon make use of all the nice new features and fixes of the updated PyOtherSide. :)
|
| All times are GMT. The time now is 01:47. |
vBulletin® Version 3.8.8