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

Getting error while trying to set the ABI via setExtraCMakeArguments argument

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • QtGP 1.1
    • QtGP 1.1
    • QtGP: General
    • None
    • Android, Windows

    Description

      Env:

      Windows 11 
      Qt GP 1.1. Qt Repository

       

      Steps:

      1. Open Android project with Qt project. 
      2. Make sure the ABI you're going to set is different than default one used by the plugin. 
      3. My default was arm64_v8a, so I added setExtraCMakeArguments('-DANDROID_ABI=x86_64') to the QtBuildTask
      4. Try to run the app. 
         
        Expected: The task is run for specified ABI or at least the eror is handled properly.

      Actual: I've got the error message:

      CMake Error at C:/Qt/6.9.0/android_arm64_v8a/lib/cmake/Qt6Core/Qt6AndroidMacros.cmake:162 (message):
      Detected Qt installation does not contain qtforandroid_x86_64.so in the
      following dir: 

      The dir is not specified in the error message. It works fine if I put there default ABI. 

      Attachments

        Issue Links

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

          Activity

            People

              teko Tero Koponen
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes