Uploaded image for project: 'Qt Tools for Android'
  1. Qt Tools for Android
  2. QTTA-442

[GP 1.1 -> 1.3]Always default ABI is used even if it's changed by qtKitDir in build.gradle

XMLWordPrintable

    • macOS

       

      Env:

      macOS 15.6
      Qt GP 1.3
      Gradle 8.10

      Steps to reproduce:

      1. Open example from /Users/apple/Qt/Examples/Qt-6.8.4/platforms/android/qtquickview_java in Android Studio
      2. Go to app/build.gradle and set the following as per your settings 
        QtBuild {
            // Relative for Qt (Installer or MaintenanceTool) installations.
            qtPath = file('../../../../../../6.8.4')
            projectPath = file('../../qtquickview')
        } 
      1. Sync and build it
      2. Now add qtKitDir and specify the kit that is not the default one, e.g. android_arm64_v8a
        QtBuild {
            // Relative for Qt (Installer or MaintenanceTool) installations.
            qtPath = file('../../../../../../6.8.4')
            projectPath = file('../../qtquickview')
            qtKitDir = file('../../../../../../6.8.4/android_arm64_v8a')
        } 
      1. Sync and build it 

      Error:

       

      CMake Error at /Users/apple/Qt/6.8.4/android_x86/lib/cmake/Qt6Core/Qt6AndroidMacros.cmake:158 (message):
      Detected Qt installation does not contain qtforandroid_arm64-v8a.so in the
      following dir:/Users/apple/Qt/6.8.4/android_x86/plugins/platforms 

      Workaround:
      Once you add the qtKitDir, clean the build and rebuild it again. 

      Note:

       

      This was reported before as well with qtGP 1.1 QTTA-252 

       

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

            nikunj Nikunj Arora
            anjalota Anurup Jalota
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes