Re: [SailfishDevel] [SPAM] Re: Does Sailfish support PyQt5?

2013-12-31 Thread Jens Persson
Yes it does. But long story short, Python WILL BE supported in Sailfish one
way or the other, that much I can promise. Sailfish/Mer basically is
Fedora mobile which means that just about anything that works on Fedora
will work on Sailfish too. Jolla might not support Python but there will be
third party support if that's the case. And I have no problem with that as
Jolla have around fifty devs or something so if they only support C++ in
Harbour it's basically a matter of resources. But today there is Openrepos
that supports PyQt. And if you don't like GPLv3 there is also Pyotherside
which is a QML plugin so that is not the same thing as PyQt but still could
work for most apps.

https://wiki.merproject.org/wiki/Sailfish/Python_Development

Happy new year all!
Jens

On Fri, Dec 27, 2013 at 2:19 AM, Martin Kolman martin.kol...@gmail.comwrote:

  26.12.2013 23:34, Mikael Hermansson:

 Its not my opinion it's a fact why should a new platform depend on
 deprecated libs or language versions when we know it very soon will
 disappear even from upstream projects? And dists?



 Its only leads to maintanance hell. And when it disappear developers and
 endusers gets angry because apps not work.



 AFAIK Jolla don't recommend python2 even if it still exists in MeR or the
 repos it may very well dissapear sooner or later.



 So if you really want PyQT you better depend on python3 because that IS
 the future.

 I think PyQt5 supports Python 3 and can be built against it just fine.



___
SailfishOS.org Devel mailing list

[SailfishDevel] [SPAM] Re: Does Sailfish support PyQt5?

2013-12-26 Thread Mikael Hermansson
AFAIK python is NOT installed from scratch in sf. also if  python will be 
supported it will be python3 as thomas already has said.

Thats the way to go. Python 2 should be seen as deprecated on new platforms 
IMHO...

Regards

Mikael

Thu Dec 26 2013 19:00:35 GMT+0100 (CET) skrev Jens Persson:
PyQt works very well on the Jolla phone and you can get it from Openrepos.
It should support the whole Qt C++ API except for deprecated modules. As
Sailfish is using Python2 by default I've built it with that. Porting from
Pyside to PyQt is very easy and takes only a few hours for a small app
and you can publish them on Openrepos as Harbour does not support PyQt and
maybe never will. Just remember that PyQt is GPLv3 so you must use that
license or pay for a commercial license from Riverbankcomputing. IMHO this
is not a big problem as most Python apps are opensource and you better
stick with native code for closed source anyway.

Greets Jens


On Sun, Dec 1, 2013 at 3:27 PM, Ye Zetao kongkong...@gmail.com wrote:

 Hello,I am a developer of python and I know that Sailfish support Qt with
 C++, but I am not familiar with C++,So I want to know that if Sailfish
 support PyQt5 ? Thanks :)

 ___
 SailfishOS.org Devel mailing list


-- 
Skickat från min Jolla
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] [SPAM] Re: Does Sailfish support PyQt5?

2013-12-26 Thread Mikael Hermansson
Its not my opinion it's a fact why should a new platform depend on deprecated 
libs or 
language versions when we know it very soon will disappear even from upstream 
projects? And dists?

Its only leads to maintanance hell. And when it disappear developers and 
endusers 
gets angry because apps not work.

AFAIK Jolla don't recommend python2 even if it still exists in MeR or the repos 
it may 
very well dissapear sooner or later.

So if you really want PyQT you better depend on python3 because that IS the 
future.

Also think about the endusers, I know very well that its fun to play with every 
libs and 
possible combination but still can't hold every possible combination and 
endusers 
are probadly not intrested to install to many thirdparty repositorys just to 
get one 
application work. Right now it already seems to be an issues with all those 
thirdparty 
dropbox links releases latest days...


Regards

Mikael

On Thursday 26 December 2013 20.15.19 Jens Persson wrote:
 Well, that's your opinion. But today it's Python2 that is default in
 Sailfish and not three and that's why I built PyQt with two. Afaik all
 Python modules currently available as default (dev mode enabled) are built
 with Python2.
 
 Greets Jens
 
 On Thu, Dec 26, 2013 at 8:03 PM, Mikael Hermansson m...@7b4.se wrote:
  AFAIK python is NOT installed from scratch in sf. also if  python will be
  supported it will be python3 as thomas already has said.
  
  Thats the way to go. Python 2 should be seen as deprecated on new
  platforms IMHO...
  
  Regards
  
  Mikael
  
  Thu Dec 26 2013 19:00:35 GMT+0100 (CET) skrev Jens Persson:
  PyQt works very well on the Jolla phone and you can get it from
  Openrepos.
  It should support the whole Qt C++ API except for deprecated modules. As
  Sailfish is using Python2 by default I've built it with that. Porting
  from
  Pyside to PyQt is very easy and takes only a few hours for a small app
  and you can publish them on Openrepos as Harbour does not support PyQt
  and
  maybe never will. Just remember that PyQt is GPLv3 so you must use that
  license or pay for a commercial license from Riverbankcomputing. IMHO
  this
  is not a big problem as most Python apps are opensource and you better
  stick with native code for closed source anyway.
  
  Greets Jens
  
  On Sun, Dec 1, 2013 at 3:27 PM, Ye Zetao kongkong...@gmail.com wrote:
   Hello,I am a developer of python and I know that Sailfish support Qt
  
  with
  
   C++, but I am not familiar with C++,So I want to know that if Sailfish
   support PyQt5 ? Thanks :)
   
   ___
   SailfishOS.org Devel mailing list
  
  --
  Skickat från min Jolla
  ___
  SailfishOS.org Devel mailing list

-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] [SPAM] Re: Does Sailfish support PyQt5?

2013-12-26 Thread Martin Kolman

26.12.2013 23:34, Mikael Hermansson:


Its not my opinion it's a fact why should a new platform depend on 
deprecated libs or language versions when we know it very soon will 
disappear even from upstream projects? And dists?


Its only leads to maintanance hell. And when it disappear developers 
and endusers gets angry because apps not work.


AFAIK Jolla don't recommend python2 even if it still exists in MeR or 
the repos it may very well dissapear sooner or later.


So if you really want PyQT you better depend on python3 because that 
IS the future.



I think PyQt5 supports Python 3 and can be built against it just fine.


Also think about the endusers, I know very well that its fun to play 
with every libs and possible combination but still can't hold every 
possible combination and endusers are probadly not intrested to 
install to many thirdparty repositorys just to get one application 
work. Right now it already seems to be an issues with all those 
thirdparty dropbox links releases latest days...


Regards

Mikael

On Thursday 26 December 2013 20.15.19 Jens Persson wrote:

 Well, that's your opinion. But today it's Python2 that is default in

 Sailfish and not three and that's why I built PyQt with two. Afaik all

 Python modules currently available as default (dev mode enabled) are 
built


 with Python2.



 Greets Jens



 On Thu, Dec 26, 2013 at 8:03 PM, Mikael Hermansson m...@7b4.se wrote:

  AFAIK python is NOT installed from scratch in sf. also if python 
will be


  supported it will be python3 as thomas already has said.

 

  Thats the way to go. Python 2 should be seen as deprecated on new

  platforms IMHO...

 

  Regards

 

  Mikael

 

  Thu Dec 26 2013 19:00:35 GMT+0100 (CET) skrev Jens Persson:

  PyQt works very well on the Jolla phone and you can get it from

  Openrepos.

  It should support the whole Qt C++ API except for deprecated 
modules. As


  Sailfish is using Python2 by default I've built it with that. Porting

  from

  Pyside to PyQt is very easy and takes only a few hours for a 
small app


  and you can publish them on Openrepos as Harbour does not support 
PyQt


  and

  maybe never will. Just remember that PyQt is GPLv3 so you must 
use that


  license or pay for a commercial license from Riverbankcomputing. IMHO

  this

  is not a big problem as most Python apps are opensource and you 
better


  stick with native code for closed source anyway.

  

  Greets Jens

  

  On Sun, Dec 1, 2013 at 3:27 PM, Ye Zetao kongkong...@gmail.com 
wrote:


   Hello,I am a developer of python and I know that Sailfish 
support Qt


 

  with

 

   C++, but I am not familiar with C++,So I want to know that if 
Sailfish


   support PyQt5 ? Thanks :)

  

   ___

   SailfishOS.org Devel mailing list

 

  --

  Skickat från min Jolla

  ___

  SailfishOS.org Devel mailing list

--

Skickat från Lenovo Thinkpad X230 running Kubuntu desktop



___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list