Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Deploying on other platforms as well
Forum Update on Monday, May 27th 2025

Deploying on other platforms as well

Scheduled Pinned Locked Moved Unsolved General and Desktop
62 Posts 5 Posters 24.5k 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.
  • p3c0P Offline
    p3c0P Offline
    p3c0
    Moderators
    wrote on last edited by
    #6

    Here you go:
    http://doc.qt.io/qt-5/androidgs.html
    http://doc.qt.io/qtcreator/creator-deploying-android.html

    157

    tomyT 1 Reply Last reply
    2
    • tomyT Offline
      tomyT Offline
      tomy
      wrote on last edited by
      #7

      Thanks p3c0,
      Pardon me, but isn't there any other tut you are aware of rather than Docs?
      My Qt Creator is 5.7 and not 5.8. Matters?

      1 Reply Last reply
      0
      • p3c0P Offline
        p3c0P Offline
        p3c0
        Moderators
        wrote on last edited by
        #8

        @tomy Unfortunately no. But a quick google search throws some good results. You can try one of them. If you encounter any errors, feel free to ask here :)

        157

        1 Reply Last reply
        1
        • tomyT Offline
          tomyT Offline
          tomy
          wrote on last edited by
          #9

          Thanks. My Qt Creator is 5.7. Is it good or I need to install 5.8?

          J.HilkJ 1 Reply Last reply
          0
          • p3c0P Offline
            p3c0P Offline
            p3c0
            Moderators
            wrote on last edited by
            #10

            @tomy Yes Qt version 5.7 will work. Installing newer versions are always better unless there are any regressions.

            157

            1 Reply Last reply
            0
            • tomyT tomy

              Thanks. My Qt Creator is 5.7. Is it good or I need to install 5.8?

              J.HilkJ Offline
              J.HilkJ Offline
              J.Hilk
              Moderators
              wrote on last edited by
              #11

              @tomy
              5.7 is fine,
              But I personaly try to be always on the leatest release version. Usually lots of bug fixes and new features and very few incompatibilities.


              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


              Q: What's that?
              A: It's blue light.
              Q: What does it do?
              A: It turns blue.

              1 Reply Last reply
              0
              • p3c0P p3c0

                Here you go:
                http://doc.qt.io/qt-5/androidgs.html
                http://doc.qt.io/qtcreator/creator-deploying-android.html

                tomyT Offline
                tomyT Offline
                tomy
                wrote on last edited by
                #12

                @p3c0

                Here you go:
                http://doc.qt.io/qt-5/androidgs.html

                Using this link I went for installing Android Studio 2.3.2. Then went to Download the NDK and Tools.
                for that, first I created a new project (just by following the wizard) -> Tools > Android > SDK Manager > SDK Tools tab.
                My page looks this way and there is no LLDB, CMake, and NDK, to check their boxes!

                jsulmJ 1 Reply Last reply
                0
                • p3c0P Offline
                  p3c0P Offline
                  p3c0
                  Moderators
                  wrote on last edited by
                  #13

                  @tomy You dont need to do anything in android studio.
                  After you install Qt, follow rest of the tutorial:
                  http://doc.qt.io/qt-5/androidgs.html#installing-qt-for-android

                  157

                  1 Reply Last reply
                  1
                  • tomyT tomy

                    @p3c0

                    Here you go:
                    http://doc.qt.io/qt-5/androidgs.html

                    Using this link I went for installing Android Studio 2.3.2. Then went to Download the NDK and Tools.
                    for that, first I created a new project (just by following the wizard) -> Tools > Android > SDK Manager > SDK Tools tab.
                    My page looks this way and there is no LLDB, CMake, and NDK, to check their boxes!

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #14

                    @tomy In the bottom right corner there is a check button "Show Package Details", click on it...

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    tomyT 1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @tomy In the bottom right corner there is a check button "Show Package Details", click on it...

                      tomyT Offline
                      tomyT Offline
                      tomy
                      wrote on last edited by tomy
                      #15

                      @jsulm
                      I'd previously checked that box but there wasn't/isn't those items.

                      @p3c03):

                      @tomy You dont need to do anything in android studio.
                      After you install Qt, follow rest of the tutorial:
                      http://doc.qt.io/qt-5/androidgs.html#installing-qt-for-android

                      Let's us clarify the items:

                      I'd previously installed Qt 5.7. OK?
                      Then I installed Android Studio.
                      Then I downloaded jdk-8u121-windows-x64-demos and downloaded and installed jdk-8u121-windows-x64.
                      Then I went for that link on this path.

                      One question: what files should be located for each "Browse" part of JDK Location, Android SDK Location and Android NDK Location there?

                      And as well as, when I want to download NDK by the download button there, it again directs me to the previous link I mentioned above.

                      1 Reply Last reply
                      0
                      • p3c0P Offline
                        p3c0P Offline
                        p3c0
                        Moderators
                        wrote on last edited by
                        #16

                        @tomy

                        what files should be located for each "Browse" part of JDK Location, Android SDK Location and Android NDK Location there?

                        the root folders which you get when you extract them

                        And as well as, when I want to download NDK by the download button there, it again directs me to the previous link I mentioned above.

                        Download this (if linux host):
                        https://dl.google.com/android/repository/android-ndk-r13b-linux-x86_64.zip

                        from here
                        https://developer.android.com/ndk/downloads/index.html

                        157

                        1 Reply Last reply
                        1
                        • tomyT Offline
                          tomyT Offline
                          tomy
                          wrote on last edited by tomy
                          #17

                          Thank you.
                          I did those and also download apache-ant-1.10.1-bin. Then set the folders as this. Please take a look at the warning message right on the bottom of Android SDK Location!

                          then I continued by Creating The Project:
                          In number 7 (Select kits), I should select a kit for my new project. When click on Manage to select the Android, it again shows the page with the warning message!

                          I tried well to select a folder as root but wasn't that successful!
                          Two questions:
                          1- How to solve this massage please?
                          2- Which kits should I select? Only Android, or I can select all kits?

                          http://imgur.com/a/fNJUI

                          1 Reply Last reply
                          0
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #18

                            Android studio is not the same thing as the SDK however I don't know where the SDK is located with the Android Studio installer. I usually get the command line tools from the bottom of the download page.

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

                            tomyT 1 Reply Last reply
                            1
                            • SGaistS SGaist

                              Android studio is not the same thing as the SDK however I don't know where the SDK is located with the Android Studio installer. I usually get the command line tools from the bottom of the download page.

                              tomyT Offline
                              tomyT Offline
                              tomy
                              wrote on last edited by tomy
                              #19

                              @SGaist

                              Android studio is not the same thing as the SDK however I don't know where the SDK is located with the Android Studio installer.

                              You mean I downloaded and installed Android Studio uselessly?

                              I usually get the command line tools from the bottom of the download page.

                              I think, anyway, we should have a SDK for put its path to the kit page, not?

                              1 Reply Last reply
                              0
                              • SGaistS Offline
                                SGaistS Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on last edited by
                                #20

                                No, I just don't know where the SDK is located when you install Android Studio.

                                However, Android Studio itself is, indeed, not needed to build Qt applications.

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

                                tomyT 1 Reply Last reply
                                1
                                • SGaistS SGaist

                                  No, I just don't know where the SDK is located when you install Android Studio.

                                  However, Android Studio itself is, indeed, not needed to build Qt applications.

                                  tomyT Offline
                                  tomyT Offline
                                  tomy
                                  wrote on last edited by
                                  #21

                                  @SGaist
                                  If it's probably in the path where Android Studio is installed, OK, I will search for it. But what to search? A file, folder what?!!!

                                  1 Reply Last reply
                                  0
                                  • SGaistS Offline
                                    SGaistS Offline
                                    SGaist
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #22

                                    Folder, a SDK is always at least a folder since it should provide all tools / libraries / whatnot to do development. You can search for a file named adb.exe.

                                    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
                                    1
                                    • tomyT Offline
                                      tomyT Offline
                                      tomy
                                      wrote on last edited by tomy
                                      #23

                                      Very nifty point. :-)

                                      I found it here C:\Users\CS\AppData\Local\Android\sdk\platform-tools so I add C:\Users\CS\AppData\Local\Android\sdk as the location path. Agree?

                                      I did it. But how to select Android kit!? Apparently I should add it!

                                      1 Reply Last reply
                                      0
                                      • SGaistS Offline
                                        SGaistS Offline
                                        SGaist
                                        Lifetime Qt Champion
                                        wrote on last edited by
                                        #24

                                        Looks good yes.

                                        Did you install the Qt for Android version ?

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

                                        tomyT 1 Reply Last reply
                                        0
                                        • SGaistS SGaist

                                          Looks good yes.

                                          Did you install the Qt for Android version ?

                                          tomyT Offline
                                          tomyT Offline
                                          tomy
                                          wrote on last edited by tomy
                                          #25

                                          @SGaist
                                          I have Qt 5.7 Creator + all the files and folders mentioned above installed/downloaded on my Windows 7 x64 machine.
                                          I don't know what that is.

                                          I think I should add an Android kit for the project. But how!?
                                          http://doc.qt.io/qtcreator/creator-developing-android.html

                                          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