[Interest] Android AAB and shared libs?

ekke ekke at ekkes-corner.org
Thu Jul 15 13:23:50 CEST 2021


perhaps this helps to understand aab builds ?
https://www.kdab.com/qt-for-android-better-than-ever-before/

ekke

Am 15.07.21 um 13:11 schrieb Alexander Dyagilev:
> Hello,
>
> In my project I have 2 sub projects: application and shared library, 
> which application uses.
>
> Shared library:
>
> TARGET = logger
> TEMPLATE = lib
> CONFIG += qt skip_target_version_ext
> DESTDIR = ../../../bin
>
> Application:
>
> LIBS *= -L$$OUT_PWD/$$DESTDIR -llogger
>
> All was working fine before AAB.
>
> Now I'm trying to compile using Qt 5.15.2 + AAB.
>
> It generates the following error:
>
> error: cannot find -llogger
>
> This is because its name now is liblogger_armeabi-v7a.so.
>
> Is there a simple way to fix this? I also need this to still be able 
> to build with Qt 5.12.11 APK format.
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest



More information about the Interest mailing list