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

Wrong default ANDROID_NDK_PLATFORM for android_arm64_v8a

    XMLWordPrintable

Details

    • Android
    • 1d683dcc0730eecdf1054ecc7cbe86695bae3f1d (qt-creator/qt-creator/4.8)

    Description

      With an armv8 Kit (5.12 beta4) I get a build error with NDK r18b:
      clang+.exe: error: no such file or directory: 'C:\Android\android-ndk-r18b/sources/cxx-stl/llvm-libc/libs/arm64-v8a/libc+.so.16'
      ... because the toolchain detection sets ANDROID_NDK_PLATFORM to android-16, which only works for armv7 with NDKr18 but not with armv8.

      Changing the environment variable to a higher value in the project settings fixes the build for me - android-21 is the first that works.

      Qt Creator should automatically set a value which works for building the project.

       

      I used the latest snapshot build (2609 for Qt Creator 4.8.0 rc-1) to test this.

       

      This issue resulted from my comment in QTCREATORBUG-21518.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-21536
        # Subject Branch Project Status CR V

        Activity

          People

            vikas Vikas Pachdha
            mar_kus Markus
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes