Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Adding extra files to your app

    Mobile and Embedded
    2
    7
    1178
    Loading More Posts
    • 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
      koolbi last edited by

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • K
          koolbi last edited by

          @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 Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 0
            • K
              koolbi last edited by

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

              1 Reply Last reply Reply Quote 0
              • K
                koolbi last edited by

                @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 Reply Quote 0
                • SGaist
                  SGaist Lifetime Qt Champion last edited by

                  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 Reply Quote 0
                  • First post
                    Last post