ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

27 January 2022
2022-01-27×
27 January 2022
I
Im new user to Qt. Does anybody know when PySide6 will support android and ios? Maybe webassembly too?
K
id 899346910Im new user to Qt. Does anybody know when PySide6 will support android and ios? Maybe webassembly too?
To use Python in smartphone OS (Android / iOS) you need something that allow executing scripting languages. Android has the project SL4A (Scripting Layer For Android) for Python. But I don't know if it's a pet project mantained by someone o there's a company behind this. Libs like Kivy use projects like that in background (pyjinius, buildozer, etc) to make possible to have Python on mobile. I don't know if The Qt Company has this in mind, but it's not a trivial issue. Because all mobile-crossplatforms have a lot of issues with the fragmentation of smartphone OS'
the problem I see for that and pyside, is that last time I checked Qt was working with webassembly only for 5.15, haven't check if people made it work for 6.x
C
but it will be amazing to give it a try to have pyside inside the browser :)
C
i checked pyodide, long time ago, but back then it was focus on non-ui applications, and mainly the whole documentation was based on making small modules to work
Thanks everybody. Since Im new to python I might ask silly questions. I have tried to search google with no luck. If you say we need to compile apk with unofficial tools then whats the propose of pyqtdeploy?
I
Doesnt pyqtdeploy compile for windows; linux; max; android?
hi, can anybody give some tips in the following example? I have a main window, there you can choose between two words to generate an object that you can "play" with in a new window (you can play with objects at once, i.e multiple windows), after all windows are closed, you can generate a json with all object features. When I was working with tkinter, I had every object in memory and keep track of them using a hidden ID in the window, but I think there's an easier approach, how would you tackle this problem? I was thinking in passing the QtObject to every window and send a signal with this QtObject back to the main window and add to a list used later to generate the json.
S
But I think this is like the old approach used, instead of using a hidden ID, I'm using the whole object..., maybe should I spam a QThread dealing with every window and sending a signal to the main thread when I've finished the work with an object? I'm not sure how this is implemented in real world UIs
F
"On PyPy, ujson-hpy runs 3x faster than the original ujson. Note the HPy implementation on PyPy is not fully optimized yet, so we expect even bigger speedups eventually."
Calendar: January 2022
Archive by month
Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog