maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Akademy 2013 Keynote: Jolla's Vesa-Matti Hartikainen (https://talk.maemo.org/showthread.php?t=90569)

benny1967 2013-07-16 10:33

Re: Akademy 2013 Keynote: Jolla's Vesa-Matti Hartikainen
 
Quote:

Originally Posted by mattaustin (Post 1359331)
It's a real shame, as I've already ported my app to Silica/Sailfish (it runs great in the alpha SDK) - and now it turns out that it was a waste of my time. I have no experience with C, but use Python every day.

That was the impression I had - that many of the applications ported to Sailfish OS so far were written in Python. Of course not one single developer will re-write everything from scratch in C++.

Jolla must be aware of this, right? It just cannot be that they ask people to port applications without telling them that whatever runs in the Alpha SDK won't run on the final product. I really hope they find a way around this issue.

soryuuha 2013-07-16 12:31

Re: Akademy 2013 Keynote: Jolla's Vesa-Matti Hartikainen
 
python simplicity beats C++..

shmerl 2013-07-16 16:36

Re: Akademy 2013 Keynote: Jolla's Vesa-Matti Hartikainen
 
And C++ beats Python in efficiency. And don't even try to write complex multithreaded applications in Python. Each language has its benefits.

MartinK 2013-07-16 16:53

Re: Akademy 2013 Keynote: Jolla's Vesa-Matti Hartikainen
 
Wit a bit of luck & patience we might get usable Qt5 from the PyQt project (in the form of PyQt5). It can already be built against Qt5, but does not currently support QtQuick (both 1&2). Unfortunately there are a few issue with using PyQt vs PySide
  • no QtQuick support & not timeline for it (hopefully shows up soon)
    • PySide does not currently support Qt5 at all and there is no timeline. Sfiet Konstantin said on IRC he'll try to at least build QtCore so we'll see. :)
  • no packages for Maemo, Mer or Nemo
    • PySide has ready made packages for Fremantle, Harmattan and Nemo
  • incompatibility with Fremantle and Harmattan - if PyQt starts to be used, backports to Maemo might get cumbersome
    • Unless the application either abstracts the PyQt and PySide difference or PyQt5 is backported to Fremantle and Harmattan
  • licensed under GPL - requires your application to be either also GPL or to purchase an expensive commercial license
    • While most Python applications on Maemo & co are open source, it might still limit some developers.

All in all, it's quite an issue, as it means both more work for Python devs, wasted effort for those who already ported their apps to the current Sailfish and also that #unlike on Fremantle and Harmattan, Python applications will not be first class citizens on Sailfish, at least not initially.

mikecomputing 2013-07-16 19:05

Re: Akademy 2013 Keynote: Jolla's Vesa-Matti Hartikainen
 
Quote:

Originally Posted by MartinK (Post 1359428)
Wit a bit of luck & patience we might get usable Qt5 from the PyQt project (in the form of PyQt5). It can already be built against Qt5, but does not currently support QtQuick (both 1&2). Unfortunately there are a few issue with using PyQt vs PySide
  • no QtQuick support & not timeline for it (hopefully shows up soon)
    • PySide does not currently support Qt5 at all and there is no timeline. Sfiet Konstantin said on IRC he'll try to at least build QtCore so we'll see. :)
  • no packages for Maemo, Mer or Nemo
    • PySide has ready made packages for Fremantle, Harmattan and Nemo
  • incompatibility with Fremantle and Harmattan - if PyQt starts to be used, backports to Maemo might get cumbersome
    • Unless the application either abstracts the PyQt and PySide difference or PyQt5 is backported to Fremantle and Harmattan
  • licensed under GPL - requires your application to be either also GPL or to purchase an expensive commercial license
    • While most Python applications on Maemo & co are open source, it might still limit some developers.

All in all, it's quite an issue, as it means both more work for Python devs, wasted effort for those who already ported their apps to the current Sailfish and also that #unlike on Fremantle and Harmattan, Python applications will not be first class citizens on Sailfish, at least not initially.

Isn't THP's also working at Jolla? I hope he gets sometime over working with pyside maybe? I probadly should be in his intrests cause of gpodder etc...

Btw. If PyQT dont even has QTQuick support. PySide definitivly must be best/fastes choice to port to Qt5. As I stated already I dont see WHY we need two bindings its just confusing and stupid.

Morpog 2013-07-16 19:13

Re: Akademy 2013 Keynote: Jolla's Vesa-Matti Hartikainen
 
I heard thp is rewritting gPodder in c++.

MartinK 2013-07-16 21:22

Re: Akademy 2013 Keynote: Jolla's Vesa-Matti Hartikainen
 
Quote:

Originally Posted by mikecomputing (Post 1359455)
As I stated already I dont see WHY we need two bindings its just confusing and stupid.

I'ts for historical reasons - PyQt is far older project than PySide, IIRC dating back to Qt3 and maybe older. Its developed by quite a small company called Riverbank Computing, the livelihood of which pretty much depends on selling commercial PyQt licenses. That's why PyQt it is GPL only. Back then, KDE was also GPL only and Trolltech was financed in a similar manner.

But then Nokia bought Qt and published it under LGPL, making it usable for a wider range or developers. But negotiations with Riverside about changing the PyQt license fell through, so Nokia paid Openbossa to build alternative Python<->Qt bindings called PySide, available under LGPL.

Due to LGPL, PySide can be used even with proprietary software without buying a commercial license, and it seems to be quite popular with the likes of Maya and other big software companies. It's definitely not a Fremantle/Harmattan only affair, but due to the slow movement of big companies, we can't really count on them to help with porting PySide to Qt5 in near future.

The biggest problem with PySide became apparent when Nokia stopped paying Openbossa more than a year ago. Development slowed to a halt and most original developers left, even the original website eventually broke down and vanished.

Lately, there has been some progress with new community people taking over and recently releasing a 1.2 bugfix release (Qt4 only). Digia also doesn't seem to be interested in PySide (don't know if the new devs have asked them though).

As mentioned earlier, there is currently no Qt5 roadmap at all. Therefore it is unlikely there PySide will be usable with Qt5 when at the time when the first Jolla device is released. IMHO, only a major infusion of cash and/or coding ninjas to the project might help with that.

mattaustin 2013-07-17 00:33

Re: Akademy 2013 Keynote: Jolla's Vesa-Matti Hartikainen
 
thp has been working on 'PyOtherSide', which he demos in this video: http://www.youtube.com/watch?v=04DeqYuJHJU

I still need to take a closer look, but at least there might be an alternative.


There is also a potential glimmer of hope from Digia, with a mention that PySide might maybe sometime see some attention maybe possibly: http://lists.qt-project.org/pipermai...ly/001512.html

Morpog 2013-07-18 15:20

Re: Akademy 2013 Keynote: Jolla's Vesa-Matti Hartikainen
 
thp blogging about future of Python on wayland with Qt5. Remember, he is a jolla employe since a few days/weeks.

The way forward with Python on Qt 5 (with a bit of history)

Morpog 2013-07-18 17:43

Re: Akademy 2013 Keynote: Jolla's Vesa-Matti Hartikainen
 
Akademy videos are uploaded!

Mer
http://files.kde.org/akademy/2013/vi...er_and_Qt.webm

SailfishOS
http://files.kde.org/akademy/2013/vi...ilfish_OS.webm

All videos
http://files.kde.org/akademy/2013/videos/


All times are GMT. The time now is 11:16.

vBulletin® Version 3.8.8