CMake build for Android failing to find Qt5 libs.
Unsolved
Installation and Deployment
-
In order to make my app compile in a continuous integration system, I'm trying to build it directly from command line using cmake, qt 5.12.5, ndk 20 and sdk 26.
I tried both under windows and linux, and as soon as I add the cmake toolchain file from the android NDK, cmake is unable to find the Qt5 modules, despite setting
CMAKE_PREFIX_PATH
to theQt\5.12.5\android_armv7
folder. Using Qt Creator and the same CMakeFile, I have no problem building the app.The same setup, targetting a windows build and a
Qt\5.12.5\msvc2017_64
qt dist is working perfectly.Thanks in advance ;)