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

Android: multi-abi build fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 6.3.0, 6.3.1
    • Build System: CMake
    • None

    Description

      This happens for every project I build. Can be reproduced with template of QtQuick application generated by Qt Creator.

      Host machine: Linux x86_64
      Target: arm64-v8a - builds correctly
      Target: armeabi-v7a - builds correctly

      Multi-abi settings:
      using arm64-v8a as main abi
      setting CMake var QT_ANDROID_ABIS = arm64-v8a;arm-v7a
      There is small issue with NDK location reported in QTCREATORBUG-27761 but its easy to overcome.
      Build stops on CMake error from CMakeList.txt file, when it should find Qt libs:

      find_package(Qt6 COMPONENTS Quick REQUIRED):
      

      And the error message is:

      Could not find a configuration file for package "Qt6" that is compatible
        with requested version "".
      
        The following configuration files were considered but not accepted:
      
          /my-path-to-qt/6.3.1/android_armv7/lib/cmake/Qt6/Qt6Config.cmake, version: 6.3.1 (32bit)
      

      This file is exactly the version that should be used for armeabi-v7a build but for some reason CMake rejects it.

      I tested the same scenario with Qt 6.3.0 with the same result.

      Attachments

        Issue Links

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

          Activity

            People

              semlanik Alexey Edelev
              lkorbel Ɓukasz Korbel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes