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. Adding extra files to your app
Forum Updated to NodeBB v4.3 + New Features

Adding extra files to your app

Scheduled Pinned Locked Moved Mobile and Embedded
7 Posts 2 Posters 1.5k 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.
  • K Offline
    K Offline
    koolbi
    wrote on 12 May 2014, 17:33 last edited by
    #1

    I have written an app and I also have an executable file that i can run on android but I would like it so that when I install my app the executable can be called there to so I want it to be included with it for example when I look in the file /data/data/com.example.myapp/files the executable will be in there. I am using qt 5.2 creator. Does anybody know how to do this?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 12 May 2014, 19:58 last edited by
      #2

      Hi,

      Your question is not really clear. AFAIU you want to have your executable in two places ? If not, can you show exactly what you would like to have and where ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • K Offline
        K Offline
        koolbi
        wrote on 12 May 2014, 20:16 last edited by
        #3

        @SGaist It might have been a mistake for me to call it an executable because that could be distracting from the question. Lets just say it is a file I want to go along with my program. I want to install my program and then when I use adb shell and cd /data/data/org.qtproject.example.myProgram I would like to be able to find this file somewhere under the directory of my myProgram.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 12 May 2014, 20:18 last edited by
          #4

          Ok, it's clearer now. Then I think you are looking for that "document":http://qt-project.org/doc/qt-5/qmake-advanced-usage.html#installing-files

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • K Offline
            K Offline
            koolbi
            wrote on 12 May 2014, 20:19 last edited by
            #5

            @SGaist thank you, I will look into this. I appreciate the reply!

            1 Reply Last reply
            0
            • K Offline
              K Offline
              koolbi
              wrote on 12 May 2014, 20:34 last edited by
              #6

              @SGaist Does my file need to be in a specific place before I can use this? Is that documentation specific for android because I am having problems with it.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 22 May 2014, 22:11 last edited by
                #7

                AFAIK no

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                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