Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
6.0.0 Beta1
Description
Set ANDROID_NDK_HOME and ANDROID_SDK_ROOT to point correct dir, pass the ndk and sdk location with env variables:
-DANDROID_SDK_ROOT:PATH=$ANDROID_SDK_ROOT
-DCMAKE_TOOLCHAIN_FILE:PATH=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake
qt-cmake will not find the sdk and ndk location, if full paths are given, then it works.
Windows can handle env variables.