Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QT Android and c++ libs
pixbyte last edited by
I have a general question to "normal" people because I do not understand all the articles about it. There is no read line to give the possibility to understand.
If I use Android Studio, I added the sources from my Lib to it, compile it with the needed ABI and create a JNI interface. Everything is fine and it works well.
But what about QT and Android? Please correct me if Iam wrong:
I have to build my C++ with Android Studio with the needed ABI and then import this *.so LIB into QT, no need to create any JNI interface, this is all done by QT like with Embacadero? I will do it the same way like doing with desktop projects?
Pablo J. Rogina last edited by
I have to build my C++ with Android Studio with the needed ABI
then import this *.so LIB into QT
Yes, copy them to the proper location (depending on the ABI platform) in your Qt project folder structure, so Qt Creator finds it and deploys to the Android device without any issue, i.e.:
no need to create any JNI interface, this is all done by QT
I don't think so. I guess you still need to go like you're currently doing.