How to add depenency files to qt android ?
Hi Everyone,
I want to add a static library(.a file) to my android project.
I tried to add using "ANDROID_EXTRA_LIBS" qmake variable but it is not working (Error: libtest.a must begin with "lib" and end with the suffix ".so").
I also tried to add using "ANDROID_PACKAGE_SOURCE_DIR" but the library is copied only to the output libs directory not into apk file.
Can anyone tell me how to add a .a file into a apk ?
Thanks.
Re: How to add depenency files to qt android ?
A static library is linked at build time, the Android package only contains the result of that linking stage.
So you only have make sure it is found during the build, i.e. path and name added to the LIBS variable in your .pro file.
Cheers,
_