- Talk - Talk (
-   SailfishOS (
-   -   sailfish os pyside2 (

wolke 2018-07-21 17:05

sailfish os pyside2
has anyone managed to get pyside2 ("qt for python") compiled for sfos?

afaict, it should be possible.

juiceme 2018-07-21 18:01

Re: sailfish os pyside2
How's that different from pyotherside?

wolke 2018-07-21 18:40

Re: sailfish os pyside2
despite accomplishing the same basic goal, theyre really not very similar

pyside/pyside2 are just python QT4/QT5 bindings wrapping the C++ api.
very similar to pyqt, and basically any other LANGUAGE-GOES-HERE wrapper around GUI-LIBRARY-GOES-HERE

pyotherside is a QML plugin to expose a python interpreter. its a much weirder, much simpler concept

wolke 2018-07-21 18:52

Re: sailfish os pyside2
on the other hand, turns out the pyqt port works great, and porting qtemail from pyside2 to pyqt only took about an hour.
(much to my surprise, porting simpler apps like qtbigtext was just changing the imports)

i guess i dont need pyside2 after all :D

on a side note, you have to ignore multimediawidgets missing dependency when installing pyqt with zypper.

coderus 2018-07-21 19:20

Re: sailfish os pyside2
i built pyqt5 recently:

wolke 2018-07-24 20:31

Re: sailfish os pyside2
coderus, can you upload your pyqt to openrepos perhaps? sailfish_libs's version is fine, but it gives a dependency error at install that is a little annoying (plus i dont think qmediaplayer will work on it)

All times are GMT. The time now is 03:47.

vBulletin® Version 3.8.8