Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.13.0
-
None
Description
CMake error when configuring
Invalid Android STL: cxx_shared
Initial CMakeparameters:
-GCodeBlocks - Ninja -DCMAKE_BUILD_TYPE:String=Release -DQT_QMAKE_EXECUTABLE:STRING=%{Qt:qmakeExecutable} -DCMAKE_PREFIX_PATH:STRING=%{Qt:QT_INSTALL_PREFIX} -DCMAKE_C_COMPILER:STRING=%{Compiler:Executable:C} -DCMAKE_CXX_COMPILER:STRING=%{Compiler:Executable:Cxx} -DANDROID_NATIVE_API_LEVEL:STRING=16 -DANDROID_NDK:PATH=C:/Dev/Tools/Android/Sdk/ndk/21.0.6113669 -DCMAKE_TOOLCHAIN_FILE:PATH=C:/Dev/Tools/Android/Sdk/ndk/21.0.6113669/build/cmake/android.toolchain.cmake -DANDROID_ABI:STRING=armeabi-v7a -DANDROID_STL:STRING=cxx_shared -DCMAKE_FIND_ROOT_PATH:PATH=%{Qt:QT_INSTALL_PREFIX}
There is no such Android STL - "cxx_shared", see https://developer.android.com/ndk/guides/cpp-support
Attachments
Issue Links
- relates to
-
QTCREATORBUG-24624 Initial CMake variable "ANDROID_STL" not accepted by newer NDK versions
- Closed