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. Qt5.15.3 Multi ABIs Android Problem

Qt5.15.3 Multi ABIs Android Problem

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 1 Posters 443 Views
  • 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.
  • S Offline
    S Offline
    SIGSEGV2040
    wrote on last edited by
    #1

    I am trying to build our old single ABI project with the new multi ABI framework however I have run into some problems.

    This is a subdirs project with a main app and a bunch of libraries. I am trying to build for armeabi-v7a and arm64-v8a, it looks like all the objects are being created correctly in their respective directories but when it tries to link them to form the libraries it's failing because both ABIs are using the same file name for the library.

    I was expecting that qmake would have automatically appended the ABI to the file name or something since it already did something similar with the build directory structure? Is this some bug in qmake or do I need to rework all my .pro files to work with multi ABI? I could append the TARGET with _$${QT_ARCH} but that does not seem right.

    I am building on Windows with Qt Creator.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SIGSEGV2040
      wrote on last edited by
      #2

      I just appended all my library names with _$${QT_ARCH} for Android builds only, it works.

      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