![]() |
Re: Sailfish SDK Alpha Qt5 released
Quote:
First you need to install some stuff with zypper: Code:
zypper in qt5* Code:
Name: sip Code:
Name: pyqt |
Re: Sailfish SDK Alpha Qt5 released
Ok so I managed to update qt on the sdk and got the newest snapshot of pyqt to work. :) But I can't get a hello world app to actually show up in the emulator. Using silica gives an import error and using only raw qml is not working either. There is a warning spitting out "libEGL warning: DRI2: failed to authenticate", dunno if that's the problem? So the app is running but doesn't show up graphically ... maybe I need a .desktop file to make it work?
Edit: Nope, didn't work with a desktop file either. Edit2: I got an old sdk so must upgrade and now mers repo server is down so will take some time until I can test again. |
Re: Sailfish SDK Alpha Qt5 released
Quote:
|
Re: Sailfish SDK Alpha Qt5 released
Success!!! I managed to upgrade the sdk and get a hello world pyqt to run. Was I THE first? :D
Packages here: http://enlisy.org/~xerxes2/pkg/sailfish/ You need both sip and pyqt. And you need to use Silicas ApplicationWindow to make it work as only raw qml doesn't work. |
Re: Sailfish SDK Alpha Qt5 released
Quote:
|
Re: Sailfish SDK Alpha Qt5 released
So everything seems to work just fine in the emulator, even got sound to work, except ... the Component.onDestruction signal doesn't seem to work. Anyone else noticed this? And the emulator doesn't seem to support landscape mode, though Silica does. The UX is very slow though but hopefully it'll run a bit faster on real hardware. :) It wouldn't hurt though if it was faster in vbox too ...
Edit: And the aboutToQuit signal doesn't work either when closing an app from the UX. Edit2: I can't get the onDestruction signal to work on my desktop either. |
Re: Sailfish SDK Alpha Qt5 released
Quote:
many apps on n9 written in pyqt/pyside is dogslow startup may I tell one of the reasons? |
Re: Sailfish SDK Alpha Qt5 released
If you only want to use QML then you can use Pyotherside but if you want to use the whole Qt C++ API you'll have to use PyQt.
|
Re: Sailfish SDK Alpha Qt5 released
Quote:
- PyQt 5/Qt5 API is a lot richer than PyOtherSide & Python & QML API, see the above post; - there are many PyQt softwares on Maemo 4&5, desktop PC which use a lot of Qt API, so they could be ported to Sailfish if the GUI is ported to QML; - more developer options = more softwares on Sailfish OS. From MeeGo Harmattan & (old) Nemo Mobile to Sailfish OS, many PySide & QML softwares would be easily ported to PyOtherSide & QML as they don't use a lot of Qt API, the rest would be easier to port using PyQt 5. Quote:
https://devdays.kdab.com/?page_id=225#3 Well, nowawadays many users want everything, iDon't & etc users want all softwares installed and then open in 0.005s, even if it is something like LibreOffice mobile. Due to this thinking, we have a dumbing down mobile world with Android, iOS, etc (even Ubuntu Touch at least v13.10) without (3rd party or non-default) dependencies, so software bloated and less capable. |
Re: Sailfish SDK Alpha Qt5 released
Quote:
To be more clear: Shouldn't we care more to make optimized apps that uses less resources? People often says: Android is bloated cause of dalvik blablabla. And now we seem to do the same mistake by sometime lazyness? people cries like crazy about "Jollas specs is to old and to less memory and should have better CPU blabla" I guess the actuall reason is: Its to less because we want to run big librarys because the community is to lazy port apps to pyotherside. Don't get me wrong here. I KNOW it maybe sometime will take alot of time and resources. But still. If stuff can be ported to pyotherside it should be done. If maintainer has now time, well we all should help him/her because isn't that what opensource is about? All this crying about everything should be open? Isn't open source about contribute give back and help each other? Or why else should apps be open? If more people started contribute I am sure most of the stuff could be ported to pyotherside and we would get faster cool apps... Btw. It would also be good if Mer/sail moved away from Python2.x to 3.x series inmstead because thats were the linux desktop also is heading.... |
All times are GMT. The time now is 02:53. |
vBulletin® Version 3.8.8