Qt5.15.3 Multi ABIs Android Problem
-
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.
-
I just appended all my library names with _$${QT_ARCH} for Android builds only, it works.