Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Deploying an Android qml app with own dynamic libs
QtWS25 Last Chance

Deploying an Android qml app with own dynamic libs

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
android dlldynamic libbug-22255
3 Posts 1 Posters 523 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
    koahnig
    wrote on last edited by koahnig
    #1

    I started to split my Android qml/C++ application to some dynmic link libraries by using subdirs template. The compilation and build of the different dynamic libraries seem to work. However, how are they integrated into the apk archive?

    At the moment they are located in the different build folders. Using DESTDIR failed at the move command with an error message that the dynamic link libs are not present. However, they were created and present. Therefore, I assume that this is a privilage problem with windows and Android tool chain. Nevertheless all is now distributed and needs to be collected for creation of the apk file.

    Is there a work around? Or am I missing something here?

    Vote the answer(s) that helped you to solve your issue(s)

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      OK, I have mastered to look around in creator and found the possibility of "Additional Libraries" under "build Android APK"
      A bit embarrassing. Should have had a look around before.

      Will mark to soved after success. There is still an issue

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • K Offline
        K Offline
        koahnig
        wrote on last edited by
        #3

        Found a bug when adding libraries there.
        Here is a link to the bug report https://bugreports.qt.io/browse/QTCREATORBUG-22255
        The only way to get it to work is with the libraries in the same folder as the project PWD. Otherwise i have gotten always two concatenated absolute path which are causing an error message in building APK archive.

        Vote the answer(s) that helped you to solve your issue(s)

        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