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 on Android, Adding directories to libs
Qt 6.11 is out! See what's new in the release blog

Qt on Android, Adding directories to libs

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.1k Views 1 Watching
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Using other threads on this board as reference, I was able to add other native shared libraries to an Android project by adding the lib files to android/libs/arch in the project directory and editing libs.xml and AndroidManifest.xml as appropriate. This works fine when the library itself is literally in android/libs/arch.

    However if I create any folders in android/libs/arch they are ignored by QtCreator and the libs inside those folders aren't copied over to the APK.

    So the following won't be copied to the APK:
    android/libs/arch/plugins/pluginabc.so

    But this will:
    android/libs/arch/pluginabc.so

    Is it possible to package those additional directories and their contents under android/libs/arch?

    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