Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24617

Invalid Android STL: cxx_shared

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.13.0
    • Fix Version/s: Qt Creator 4.13.1
    • Component/s: Android Support
    • Labels:
      None
    • Platform/s:
      Windows

      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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              portale Alessandro Portale
              Reporter:
              dmitry.sokolov Dmitry Sokolov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes