Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.13.0
-
None
-
Ubuntu 20.04 LTS
Qt 5.15
GCC
Android NDK v.21.1.6352462
Description
In Qt Creator just creating a blank project, under the Projects tab, in initial CMake settings, the ANDROID_STL is set to cxx_shared. Newer cmake modules in Android NDK don't accept cxx_shared, but accept c++_shared. I used that, and CMake no longer complains.
The source of the issue is android.toolchain.cmake, line 377, residing in ndk/21.1.6352462/build/cmake/:
message(FATAL_ERROR "Invalid Android STL: ${ANDROID_STL}.")
Please make c++_shared the default initial variable for ANDROID_STL under the build settings for Android kits.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-24617 Invalid Android STL: cxx_shared
-
- Closed
-