this post was submitted on 29 Jun 2021
16 points (100.0% liked)
Linux Phones
6325 readers
1 users here now
Community about running GNU/Linux on phones. Projects like Ubuntu Touch, Plasma Mobile, PostmarketOS, Mobian etc. Either on former Android phones or hardware like the PinePhone.
Related communities:
See also:
Related chats:
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Let me guess, you "need" a more sophisticated UI toolkit on mobile? ;-p
With Qt Widgets you'll have to go out of your way to make it work nice with touch devices, since it has been created for desktop usage with mouse and keyboard input in mind, while Qt Quick has been made with mobile user interfaces in mind.
I wonder why you're worried about the performance of Qt Quick. It has hardware rendering by default and the layout system is designed with applications in mind, unlike HTML, which tries to retrofit a document markup language into an application markup language. Additionally, QML and JavaScript files can be precompile to native code, if the JIT compilation of QML and JavaScript files would be a performance concern.
QML just sits in this sweet spot of being easy to use for developers while not consuming too much ( Electron-levels) of system resources. Of course, if you abuse QML you can most definitely create slow applications in it, but you could say that about every framework.
+1 for QtQuick/QML. Stuff like NeoChat is really inspiring (even though there's a lot to be done still in mobile).