Welcome Mohsen 🎉 🎊
Remember to check the documentation page https://doc.qt.io/qtforpython/ and the wiki https://pyside.org if you have some questions.
27 January 2022
id 899346910Im new user to Qt. Does anybody know when PySide6 will support android and ios? Maybe webassembly too?
iOS, likely never, unless Apple changes their stance on interpreted languages.
Android more likely.
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'
Cristián 🥑but it will be amazing to give it a try to have pyside inside the browser :)
Ссылка
click to show
click to show
Pyodide is one project for that
https://github.com/pyodide/pyodide
id 899346910Thanks 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?
pyqtdeploy I think is a thing of River Bank, the company behind PyQt. This channel is of PySide, the official Qt Python flavour
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.
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
Hmm, https://docs.hpyproject.org/en/latest/overview.html sounds quite cool once it matured a bit if PySide wants even more speedup than "just" PyPy