![]() |
Re: Sailfish SDK Alpha Qt5 released
Quote:
Pyside: https://github.com/xerxes2/panucci/b...lui/qmlmain.py Pyqt5: https://github.com/xerxes2/panucci/b...ui/qml2main.py As I said I'm not using much Qt stuff other than Quick but porting to Pyotherside will still, if even possible, require a lot of work. Pyqt maps 1:1 with the C++ API and is very easy to use if you already used Pyside before. And would you care to explain why Pyotherside would use less resources than Pyqt? They're both using the same Qt libs so give some proof or it didn't happen. :P Use Pyotherside if you want but for existing Pyside apps Pyqt is the much faster way to port. Pyqt is GPL3 though so your app must use that license too or you must purchase a commercial license. Edit: Just to clarify, porting from Pyside to Pyqt5 is basically namespace changes but porting to Pyotherside will require a complete rewrite of your gui and some more stuff. I've never used Pyotherside so someone correct me if I'm wrong. |
Re: Sailfish SDK Alpha Qt5 released
I've just ported my "Perth Trains" app to pyotherside. It's probably a bit hacky (I struggled with knowing which data types pyotherside will handle, a list of instances didn't work, but a list of dicts apparently does), and I plan to also port to pyqt at some point (just out of self-interest, and I already use pyside for fremantle/harmattan):
https://github.com/mattaustin/freman...f675729e773f35 |
Re: Sailfish SDK Alpha Qt5 released
Quote:
|
Re: Sailfish SDK Alpha Qt5 released
Performance comparision by THP himself on QtDevDays 2013
https://pbs.twimg.com/media/BWHgLHNIEAANIuf.jpg:large Some other pics from there: https://pbs.twimg.com/media/BWHizsjIIAAnX6v.jpg:large https://pbs.twimg.com/media/BWHfNSmIIAA_LEu.jpg:large https://pbs.twimg.com/media/BWHizsjIIAAnX6v.jpg:large https://pbs.twimg.com/media/BWHo-wnIQAALBYs.jpg:large https://pbs.twimg.com/media/BWHeAnkIcAAgS-W.jpg:large |
Re: Sailfish SDK Alpha Qt5 released
Quote:
Edit: Hm, that should be less than 20mb ... still not extremely much. So it probably takes "a bit" more than Pyotherside. Edit2: If I'm counting correctly a hello world pyqt5 takes around 14mb. Edit3: Are you supposed to use qmlscene with pyotherside? Because that will use the same amount of memory as pyqt. |
Re: Sailfish SDK Alpha Qt5 released
Quote:
|
Re: Sailfish SDK Alpha Qt5 released
Quote:
Also there is other reason I prefer the later. That is license issues... Btw if gpodder who has ALOT of pythonqt code can be converted I think other apps can be. |
Re: Sailfish SDK Alpha Qt5 released
As thp says in his blog article about PyOtherSide :
Quote:
But developers want and need freedom and options. Let remember that many Python mobile developers have only some hours per week or month to develop as a hobby, so if there are tools easier to migrate (from Maemo/MeeGo/PC) to Sailfish, they will want them. Some of the Python softwares could be developed in C/C++, but then it would take more developing time and some would not be finished at all. And please, stop saying mobile Python developers are lazy. They contributed and will contribute with a lot of free and open source softwares for Maemo, MeeGo, Sailfish, etc. |
Re: Sailfish SDK Alpha Qt5 released
Quote:
There is also other stuff that may involve porting. Going from Python2 => python3. And btw. We definitively not need too many alternatives librarys IMHO. Especially not on embedded linux. It only leads to massive package dependies hell that we know of in the Linux on desktop :( |
Re: Sailfish SDK Alpha Qt5 released
Quote:
You can never have enough libraries available - library availability is what makes or breaks a platform for developers. Also the more libraries are are available in the repositories, the less crap developers have to bundle, meaning smaller packages and less security vulnerabilities caused by outdated bundled libs. |
All times are GMT. The time now is 11:33. |
vBulletin® Version 3.8.8