Running QT code on Android Studio
-
I'm developing an Android app for local machine translation. There's basically a desktop version for the same (translateLocally) that contains Qt code. My main aim is to embed the code this uses as a library into android studio so that I can use some functionalities present in it.
To begin with, I created a simple "hello world" qt code and tried running it in android studio in order to see if qt code actually runs before embedding the entire translateLocally library, but haven't been successful.
If someone would guide me through a step-by-step process of how I can actually run the qt code would be much appreciated.
Thanks!
-
Apparently nobody knows about this, and neither do I. AFIK, Android Studio is badly equipped for Qt development. Yes, it can include C++ code, but you need to figure out how to call it from Java.
And Qt, being a platform and not just a collection of functions. needs a way to initialize its shared library (which you need to include besides functions that call Qt functions). And any QML would be another issue altogether...
Perhaps people have done this and Googling about it gives guidance...