Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Deploying Qt project to Android - project has an exe and dlls, what is the best way to get the dlls onto the android device?

Deploying Qt project to Android - project has an exe and dlls, what is the best way to get the dlls onto the android device?

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 3 Posters 2.6k 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.
  • D Offline
    D Offline
    Dolphin
    wrote on last edited by
    #1

    Current Qt project has an exe which deploys to Nexus 7 fine. It calls dlls written by us in Qt - what is the best way to get those dlls onto the device?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Android is using a different architecture, you need to recompile the application and libraries to linux binaries. Qt 5.1 or Necessitas for Qt4 should do the job fine for you.

      (Z(:^

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Dolphin
        wrote on last edited by
        #3

        Evening :-) I have everything built I just do not know the best way to deploy the dlls when the exe is deployed. Other dependencies are being deployed in the resources file but I though dlls could maybe be done through some project settings or something?? (Am using Qt 5.1)

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Hm, I'm sure they can, but I don't know how. I only tested Qt on Android some time ago with a very small project with no additional libraries.

          (Z(:^

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            zlutor
            wrote on last edited by
            #5

            anyway, some step-by-step desctiption about deployment options would be really beneficial for newbies like me... :-)

            I have a running QML app on my dev. Android tablet but I just do not know how/what to deploy.

            E.g. what does the three 'deploy configurations' options in Qt Creator mean?

            • use Qt libraries from the device - I guess it packs just the core apps without Qt libraries and tries to use (pre)installed libs from target device
            • Deploy local Qt libraries - ??? Does it mean that apk will include all necessary libs from building environment, so if apk is installed, app runs fine?
            • Ministro based options looks clear but is it available for Qt 5.1? I did not find any appropriate version...

            What does 'use local Qt libraries' option means there?

            1 Reply Last reply
            0
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6
              • "use Qt libraries from the device" == Ministro
              • "Deploy local Qt libraries" == libraries will be bundled together with your app.

              I think I need to refresh my Qt on Android knowledge ;)

              (Z(:^

              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