Important: Please read the Qt Code of Conduct -

Qt Creator/Android and external libraries

  • Is there a way to add external libs in the Package Configurations(Project settings) section?
    Even if I modify libs.xml manually Qt Creator overrides that file with its own data.

  • I have found a workaround.
    You should add the following to your libs.xml
    @<array name="your_any_name">

    and then replace the following line in your manifest:
    @<meta-data android:name="" android:resource="@array/bundled_libs"/>@
    @<meta-data android:name="" android:resource="@array/your_any_name"/>@

    If somebody knows the better way it would be cool to hear it.

  • Thanks for the workaround, now i can add my libraries!

  • hey I have problem .I got what you have said above .But I don't understand actually in which folder should I place my library.I have created static library.And how to I give that path in .pro file .Local path is accepted when I run it on linux dekstop but path gives error when i try to build it for android.please help

Log in to reply