Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Extra lib in Android with Qt 5.15.0
alemio last edited by alemio
Hi, I added an extra lib with Qt 5.14.2 using ANDROID_EXTRA_LIBS and that works fine.
Now I'm trying to port porting the project on Qt 5.15.0. The library is not copied on the device. I think that the problem is because the library is copied in the wrong directory instead of armeabi-v7a folder
How can fix that?
Instead of ANDROID_EXTRA_LIBS, use the
android/libs. Copy the .so manually, make sure to keep the proper subdirectory names for architectures. It's the easiest this way -
androiddeployqtjust copies the whole dir into the APK.
You can still use ANDROID_EXTRA_LIBS, but you need to define it separately per architecture in your .pro file - it's a mess.