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

Android multi-abi builds don't work if the Android ndk/sdk install path is different from the CI's one

    XMLWordPrintable

    Details

    • Commits:
      d6919b073a (qt/qtbase/dev) d6919b073a (qt/tqtc-qtbase/dev) ac977434c6 (qt/qtbase/6.3) ac977434c6 (qt/tqtc-qtbase/6.3) 0e62c9bd0f (qt/qtbase/6.3.0) 0e62c9bd0f (qt/tqtc-qtbase/6.3.0)

      Description

      When configuring the user multi-abi project using the Qt for Android from online installer the warning like bellow occurs repeatedly:

      CMake Warning at /home/user/Projects/Qt/install/6.3_android/6.3.0/android_x86/lib/cmake/Qt6/qt.toolchain.cmake:68 (message):
        The toolchain file to be chainloaded
        '/opt/android/android-ndk-r22b/build/cmake/android.toolchain.cmake' does
        not exist.
      Call Stack (most recent call first):
        /usr/share/cmake/Modules/CMakeDetermineSystem.cmake:124 (include)
        CMakeLists.txt:3 (project)
      

      This also causes the per-ABI projects to not configured successfully.

      The root cause is in ANDROID_SDK_ROOT and ANDROID_NDK_ROOT variables that are not propagated to the per-ABI external projects and related toolchain files cannot be found.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              semlanik Alexey Edelev
              Reporter:
              semlanik Alexey Edelev
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: