Unsolved How add .so lib on Qt for Android using CMake
-
Hi,
I have a project that I build for android using Qt 5.12.9. This project uses CMake 3.16.2 and of course androiddeployqt. I don't see any gradle script in my project tree so I think that is all automated by androiddeployqt.
I added a .so library using CMake to my project: after the addition the projects builds correctly without errors but I noticed a runtime error regarding the .so library mentioned above: then I unpacked the .apk file and discovered that the .so library in discussion is not placed in the libs folder of the apk, then at runtime the application raises an exception.
Can you suggest me how I can instruct CMake or androiddeployqt to place a specific .so library (which is already used for the build process by CMake) inside the libs folder of the apk?Thanks