Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-82303

Check CMAKE_ANDROID_ARCH_ABI of native Android support of CMake

    XMLWordPrintable

Details

    • Android

    Description

      Qt 5.14.0 uses ANDROID_ABI [1] in generated cmake files. This requires android toolchain file of NDK.
      Also it should be possible to use builtin support in CMake [2] instead of NDK toolchain file. CMake uses CMAKE_ANDROID_ARCH_ABI for the same usage.

      Our work around in our cmake script:

      SET(ANDROID_ABI ${CMAKE_ANDROID_ARCH_ABI})
      

      It would be nice if the create_make.prf could check for CMAKE_ANDROID_ARCH_ABI variable, too.

      [1] https://code.qt.io/cgit/qt/qtbase.git/tree/mkspecs/features/create_cmake.prf?h=5.14#n46

      [2] https://cmake.org/cmake/help/v3.7/variable/CMAKE_ANDROID_ARCH_ABI.html#variable:CMAKE_ANDROID_ARCH_ABI

      Attachments

        For Gerrit Dashboard: QTBUG-82303
        # Subject Branch Project Status CR V

        Activity

          People

            qtandroidteam Qt Android Team
            misery André Klitzing
            Vladimir Minenko Vladimir Minenko
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes