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. Qt Creator/Android and external libraries
Forum Update on Monday, May 27th 2025

Qt Creator/Android and external libraries

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 3 Posters 9.2k 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.
  • K Offline
    K Offline
    kibsoft
    wrote on 4 Jul 2013, 15:42 last edited by
    #1

    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.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kibsoft
      wrote on 4 Jul 2013, 18:09 last edited by
      #2

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

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

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

      1 Reply Last reply
      2
      • D Offline
        D Offline
        duddo
        wrote on 15 Jul 2013, 08:50 last edited by
        #3

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

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Akash154
          wrote on 13 Jul 2015, 14:43 last edited by
          #4

          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

          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