Qt Forum

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

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    How to install my app android on a Tablet

    Mobile and Embedded
    3
    9
    1868
    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.
    • L
      le_fonceur last edited by

      Hello everybody,

      I'm using Qt, i finished to build my first app and after i made a test by running it with the emulator, it's okey.
      But now, i don't know how to install it on a tablet. Can you help me please ?

      Thank you.

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        Setup your tablet to allow developer mode

        Connect your tablet to your computer

        Select it when you're asked to do so before running your application

        Enjoy

        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
        • L
          le_fonceur last edited by

          Thank you SGaist, i'm trying to do all that you said. In the settings's pannel of the tablet, i don't see developer mode in order to enable it.

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Google is your friend. "Here":http://developer.android.com/tools/device.html

            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
            • L
              L.MCH last edited by

              After you have deployed the app on the emulator or on a real device using developer mode, you can also install it on other devices by using the
              QtApp-debug.apk installer file
              you will find in YOUR_BUILD_FOLDER/android-build/bin
              (of course only on devices that are configured to allow sideloading).

              At least up to Qt 5.3.1 the name is always QtApp-debug.apk but the manifest inside it contains the actual name of the app and you can rename the .apk so they are the same.

              1 Reply Last reply Reply Quote 0
              • L
                le_fonceur last edited by

                Bonsoir L.MCH,

                Ca marche, j'ai arriver a installer et a lancer mon premier appli Qt sur une tablette android. J'avais mi une image sur une forme, ça n'apparait pas. je vais continuer a bidouiller, peutetre voir comment je peux creer une ressource.qrc pour mon appli et mettre l'image.

                A toi aussi SGaist, merci. Le lien que tu m'avais donner est nouveau pour moi et je vais apprendre beaucoup. Je vais me lancer a fond.

                Merci, Si j'ai un souci, je vous contacterai.

                cordialement,
                Le Fonseur

                1 Reply Last reply Reply Quote 0
                • SGaist
                  SGaist Lifetime Qt Champion last edited by

                  You're welcome. Please write your question/answer in english, it's the official language of the forum.

                  That's said, since you have it woking now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

                  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
                  • L
                    le_fonceur last edited by

                    HAWtttttttttttttttt, i forgot. I wa s so happy. Thank you.

                    1 Reply Last reply Reply Quote 0
                    • L
                      le_fonceur last edited by

                      Hello L.MCH,

                      It's okey now, thank you so much. I instaled it in the tablet. I'm going to create a resource folder and put an image.
                      To you also, SGaist, thank you so much. The links that you share with me helped me.

                      The solution is :
                      Setup the tablet to allow developer mode

                      • connect the Tablet with USB cable to the computer

                      • I copied the QtApp-debug.apk file from my computer installer file that we can find in YOUR_BUILD_FOLDER/android-build/bin

                      • Choose the QtApp-debug.apk in the tablet and install the app by clicking on it

                      • restart the computer or not

                      • Each time you modify your app in the computer you save it, when you run it, it will run directly in you tablet.

                      Good luck to everyone

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post