Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt 6.9 Android Multi Abi Build Failed
Forum Updated to NodeBB v4.3 + New Features

Qt 6.9 Android Multi Abi Build Failed

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 237 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    NullNull
    wrote on 22 Feb 2025, 20:11 last edited by NullNull
    #1

    Hello, I have an application developed with Qt 6.9 QML. I want to build it for all ABIs. In the past, I used to set QT_ANDROID_BUILD_ALL_ABIS = true in the CMake configuration file, and when I built the project, the process completed without any issues. However, now when I do this, I get the following error:

    :-1: error: Cannot find application binary in build dir C:/qtproc/BlaBla/build/Android_Qt_6_9_0_Clang_arm64_v8a-MinSizeRel/android-build-appBlaBla//libs/x86/libappBlaBla_x86.so.
    

    Does anyone know how to solve this problem?

    alt text

    Edit: I still get the same error when I add the following lines to my CMake file:

    set_target_properties(untitled1 PROPERTIES
        QT_ANDROID_PACKAGE_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/android
        QT_ANDROID_MIN_SDK_VERSION 24
        QT_ANDROID_TARGET_SDK_VERSION 35
        QT_ANDROID_BUILD_ALL_ABIS ON
        QT_ANDROID_ABIS "armeabi-v7a;arm64-v8a" # x86;x86_64
    )
    
    1 Reply Last reply
    0
    • N Offline
      N Offline
      NullNull
      wrote on 23 Feb 2025, 08:01 last edited by
      #2

      Any idea ?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Michel de Boer
        wrote on 16 Mar 2025, 14:41 last edited by
        #3

        I had this problem in Qt6.8.2 and have this work around:

        # Work around to fix build issue in Qt6.8.2
        # See https://bugreports.qt.io/browse/QTBUG-131707
        set(QT_NO_GLOBAL_APK_TARGET_PART_OF_ALL OFF)
        
        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved