4 ms·
I don't know how Qt & Android fare these days... I know it was quite a hassle to create background services when I first tried to get into it and there was no d
by allenskd 7y ago
I don't know how Qt & Android fare these days... I know it was quite a hassle to create background services when I first tried to get into it and there was no definitive answer as I think it was still on the roadmap to add it (perhaps?).
Qt is amazing and so is QML. I still found QML JavaScript engine utilizing a lot of memory back then as well and I don't know if it has been fine-tuned these days.
- wtracy 7y ago> I know it was quite a hassle to create background services I think I finally understand why everyone keeps saying that Qt on Android "isn't ready for prime time."
- kuschku 7y agoEven with native Java/Kotlin on Android it's pretty hard to reliably run background service, if not to say impossible (most manufacturers make it impossible, and even on Google devices it's impossible on Marshmallow).
- oever 7y agoQt6 will have faster and lower footprint QML because JavaScript will be optional. Also QML will gain type checking.
- dkersten 7y agoIs there a timeline or target release date for Qt6 yet?
- cjslep 7y agoI had to create a Qt JNI app... That was entirely run as a background service. It was quite the wizardry, and did require a little bit of Cyanogen kernel hacking from a coworker.
- yellow_lead 7y agoIf you want a background service you currently have to create the code for it in Java, and call that code with the JNI. You can register callbacks for communicating the other direction (towards native code). A pain, but possible.
- The_rationalist 7y agoCould you do a comparison of why using QT js instead of electron/ionic?
- allenskd 7y agoIt's not a comparison I can do. I haven't used ionic extensively enough to put out a well-thought out comparison that can expose the layers of complexities and the pros and cons of how we can benefit from each technology. I have yet to use electron tho... I haven't done a personal project in a long time to play with it.