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. application (Qt Quick) - only 'Desktop' in Supported Platforms
QtWS25 Last Chance

application (Qt Quick) - only 'Desktop' in Supported Platforms

Scheduled Pinned Locked Moved Solved General and Desktop
23 Posts 3 Posters 3.1k 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.
  • F Offline
    F Offline
    freenico
    wrote on last edited by freenico
    #1

    Hello folks,
    I have finally decided to spend the next 6mnths learning qt and app development (i know, 6mnths will get me to the first few steps of a long learning ladder) and, I am super excited to start.
    So it has been only a few days and the first thing that i noticed is that I can't get 'Android' under Supported Platforms when I try to start a New Project>Application (Qt) or Application (Qt Quick); all the other options (Applications (Qt for Phyton), Library, Non-Qt Project, seem to include 'Android' as a Supported Platform.
    I am probably not doing-something in the project settings or I am missing some plugin/package.
    This brings the question: would a Qt-Quick Application for Desktop be adaptable to Android device? (please, be gentle if I asked a really dumb question).
    Thanks
    edit: sorry i forgot to mention my specs: Qt-Creator 5.0.3 / Qt Designer 5.15.3 / OS Slackware current on Xeon processor, nVidia 6GB, 32GB RAM

    jsulmJ 1 Reply Last reply
    0
    • F freenico

      Hello folks,
      I have finally decided to spend the next 6mnths learning qt and app development (i know, 6mnths will get me to the first few steps of a long learning ladder) and, I am super excited to start.
      So it has been only a few days and the first thing that i noticed is that I can't get 'Android' under Supported Platforms when I try to start a New Project>Application (Qt) or Application (Qt Quick); all the other options (Applications (Qt for Phyton), Library, Non-Qt Project, seem to include 'Android' as a Supported Platform.
      I am probably not doing-something in the project settings or I am missing some plugin/package.
      This brings the question: would a Qt-Quick Application for Desktop be adaptable to Android device? (please, be gentle if I asked a really dumb question).
      Thanks
      edit: sorry i forgot to mention my specs: Qt-Creator 5.0.3 / Qt Designer 5.15.3 / OS Slackware current on Xeon processor, nVidia 6GB, 32GB RAM

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

      @freenico Did you install Qt for Android?
      You should start here: https://doc.qt.io/qt-5/android.html

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

      1 Reply Last reply
      0
      • F Offline
        F Offline
        freenico
        wrote on last edited by freenico
        #3

        HI 'jsulm' and thank you for your input.
        I have been in&out of that page many times and I must admit that at first it felt like being French trying to understand Chinese.
        However, after several attempts i (think) managed to install all the components for Qt Android. Below I copy-pasted from Tools > Options > Devices in my Qt creator:

        Java Settings are OK. 
        Android settings are OK. (SDK Version: 5.0, NDK Version: 21.3.6528147)
        OpenSSL Settings are OK. 
        

        In Tools>Options>Kits, Android and Desktop (default) are listed under Manual. I tried to change the 'Default' to Android and it still does not appear under Supported Platforms when I start a New Project>Application(Qt Quick)>any of the subformats (Empty, Scroll, Stack and/or Swipe).

        J.HilkJ 1 Reply Last reply
        0
        • F freenico

          HI 'jsulm' and thank you for your input.
          I have been in&out of that page many times and I must admit that at first it felt like being French trying to understand Chinese.
          However, after several attempts i (think) managed to install all the components for Qt Android. Below I copy-pasted from Tools > Options > Devices in my Qt creator:

          Java Settings are OK. 
          Android settings are OK. (SDK Version: 5.0, NDK Version: 21.3.6528147)
          OpenSSL Settings are OK. 
          

          In Tools>Options>Kits, Android and Desktop (default) are listed under Manual. I tried to change the 'Default' to Android and it still does not appear under Supported Platforms when I start a New Project>Application(Qt Quick)>any of the subformats (Empty, Scroll, Stack and/or Swipe).

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

          @freenico said in application (Qt Quick) - only 'Desktop' in Supported Platforms:

          In Tools>Options>Kits, Android and Desktop (default) are listed under Manual.

          Manual? not automatic?

          what's the icon for the kit is it an exclamation point (red or yellow) ? what does it say, when you hover over it?

          for example see my load out, couple of kits are non functional (the red !) some have something wrong/missing (yellow !) the ones working have a device specific icon
          7c5b5ecc-553c-4bf0-a1b7-8f8095b54937-image.png


          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
          • F Offline
            F Offline
            freenico
            wrote on last edited by
            #5

            Thanks again,
            well, the 'Auto-detected' section in my Tools>Options>Kits is empty.
            Nothing shows there even when I connect my Android phones (tried with Samsung and Huawei)
            qt_kits_screenshot.png
            Maybe worth mentioning that both phones are old and run on Nougat 7 which I think i installed through Android Studio. Also interesting, when i tried to run the emulator it started lasted maybe 30secs and then it stalled my entire system and I had to hard-reset; this happened both on Android Studio and Qt Creator

            J.HilkJ 1 Reply Last reply
            0
            • F freenico

              Thanks again,
              well, the 'Auto-detected' section in my Tools>Options>Kits is empty.
              Nothing shows there even when I connect my Android phones (tried with Samsung and Huawei)
              qt_kits_screenshot.png
              Maybe worth mentioning that both phones are old and run on Nougat 7 which I think i installed through Android Studio. Also interesting, when i tried to run the emulator it started lasted maybe 30secs and then it stalled my entire system and I had to hard-reset; this happened both on Android Studio and Qt Creator

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

              @freenico ok,
              what Qt version did you install for the kit ?


              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.

              F 1 Reply Last reply
              0
              • J.HilkJ J.Hilk

                @freenico ok,
                what Qt version did you install for the kit ?

                F Offline
                F Offline
                freenico
                wrote on last edited by
                #7

                @J-Hilk said in application (Qt Quick) - only 'Desktop' in Supported Platforms:

                @freenico ok,
                what Qt version did you install for the kit ?

                Sorry J.,
                that's chinese to me, agaain.
                "Qt install for the Kit?"
                I have the Qt that comes with the standard installation of Slackware, Qt 5.15; then I installed the Qt Creator via sbopkg by Ponce.
                I didn't even know I could install another Qt version for the Kit or, am i misreading your question?
                How would I install another version for the Kit?

                jsulmJ 1 Reply Last reply
                0
                • F freenico

                  @J-Hilk said in application (Qt Quick) - only 'Desktop' in Supported Platforms:

                  @freenico ok,
                  what Qt version did you install for the kit ?

                  Sorry J.,
                  that's chinese to me, agaain.
                  "Qt install for the Kit?"
                  I have the Qt that comes with the standard installation of Slackware, Qt 5.15; then I installed the Qt Creator via sbopkg by Ponce.
                  I didn't even know I could install another Qt version for the Kit or, am i misreading your question?
                  How would I install another version for the Kit?

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

                  @freenico You need to install Qt for Android if you want to develop for Android.
                  Please show you "Qt Versions" tab.

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

                  F 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @freenico You need to install Qt for Android if you want to develop for Android.
                    Please show you "Qt Versions" tab.

                    F Offline
                    F Offline
                    freenico
                    wrote on last edited by freenico
                    #9

                    @jsulm said in application (Qt Quick) - only 'Desktop' in Supported Platforms:

                    @freenico You need to install Qt for Android if you want to develop for Android.
                    Please show you "Qt Versions" tab.

                    qt_designer_version_scrnshot.png qt_creator_version_scrnshot.png

                    Is Qt Android a separate package? if so, where would I find it? (there is nothing on this page https://doc.qt.io/qt-5/android.html )

                    Why is the Androis tab in Tools>Options>Devices showing that ALL the android settings are 'OK'?
                    android_settings_scrnshot.png

                    jsulmJ J.HilkJ 2 Replies Last reply
                    0
                    • F freenico

                      @jsulm said in application (Qt Quick) - only 'Desktop' in Supported Platforms:

                      @freenico You need to install Qt for Android if you want to develop for Android.
                      Please show you "Qt Versions" tab.

                      qt_designer_version_scrnshot.png qt_creator_version_scrnshot.png

                      Is Qt Android a separate package? if so, where would I find it? (there is nothing on this page https://doc.qt.io/qt-5/android.html )

                      Why is the Androis tab in Tools>Options>Devices showing that ALL the android settings are 'OK'?
                      android_settings_scrnshot.png

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

                      @freenico Please show the "Qt Versions" content! Its next to "Kits" tab which you posted before.

                      "Why is the Androis tab in Tools>Options>Devices showing that ALL the android settings are 'OK'?" - because those are not Qt related but needed to develop Android apps.

                      Again: you need to install Qt for Android...

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

                      F 1 Reply Last reply
                      0
                      • jsulmJ jsulm

                        @freenico Please show the "Qt Versions" content! Its next to "Kits" tab which you posted before.

                        "Why is the Androis tab in Tools>Options>Devices showing that ALL the android settings are 'OK'?" - because those are not Qt related but needed to develop Android apps.

                        Again: you need to install Qt for Android...

                        F Offline
                        F Offline
                        freenico
                        wrote on last edited by freenico
                        #11

                        @jsulm said in application (Qt Quick) - only 'Desktop' in Supported Platforms:

                        @freenico Please show the "Qt Versions" content! Its next to "Kits" tab which you posted before.

                        "Why is the Androis tab in Tools>Options>Devices showing that ALL the android settings are 'OK'?" - because those are not Qt related but needed to develop Android apps.

                        Again: you need to install Qt for Android...

                        Jsul, I really than you for the input and help but I feel like I am trying so say "where is the toilet" in a language and being replied "the sky is blue" in another language, and expected to find it
                        Anyway, i attached the Qt Versions screenshot below
                        qt_versions_scrnshot.png

                        when I search: Qt dor Android packageor 'how to' this is what i get:getting qt_android_scrnshot.png

                        jsulmJ 1 Reply Last reply
                        0
                        • F freenico

                          @jsulm said in application (Qt Quick) - only 'Desktop' in Supported Platforms:

                          @freenico You need to install Qt for Android if you want to develop for Android.
                          Please show you "Qt Versions" tab.

                          qt_designer_version_scrnshot.png qt_creator_version_scrnshot.png

                          Is Qt Android a separate package? if so, where would I find it? (there is nothing on this page https://doc.qt.io/qt-5/android.html )

                          Why is the Androis tab in Tools>Options>Devices showing that ALL the android settings are 'OK'?
                          android_settings_scrnshot.png

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

                          @freenico said in application (Qt Quick) - only 'Desktop' in Supported Platforms:

                          Is Qt Android a separate package? if so, where would I find it? (there is nothing on this page https://doc.qt.io/qt-5/android.html )

                          its not implicitly stated but at least different Qt versions are mentioned
                          https://doc.qt.io/qt-5/android-getting-started.html#installing-the-android-sdk-essentials
                          as they require different NDK versions.

                          You first 2 Screenshots show the version of Qt used to build the QtDesigner and QtCreator. Those are development tools, that are designed and build with Qt. Qt itself is a framework/library. That comes in different versions and flavours. Depending on what system you want to build your application for, you either have to download the precompiled binaries or compile Qt yourself via the open source source code :D

                          as far as I know Slackware is linux distro, so see this link for the online installer

                          it should detect your os and give you the correct one.

                          The online installer allows you to select what qt version you want to install, I would not recommend installing everything.


                          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.

                          F 2 Replies Last reply
                          2
                          • F freenico

                            @jsulm said in application (Qt Quick) - only 'Desktop' in Supported Platforms:

                            @freenico Please show the "Qt Versions" content! Its next to "Kits" tab which you posted before.

                            "Why is the Androis tab in Tools>Options>Devices showing that ALL the android settings are 'OK'?" - because those are not Qt related but needed to develop Android apps.

                            Again: you need to install Qt for Android...

                            Jsul, I really than you for the input and help but I feel like I am trying so say "where is the toilet" in a language and being replied "the sky is blue" in another language, and expected to find it
                            Anyway, i attached the Qt Versions screenshot below
                            qt_versions_scrnshot.png

                            when I search: Qt dor Android packageor 'how to' this is what i get:getting qt_android_scrnshot.png

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

                            @freenico You did not install Qt for Android. Go to https://www.qt.io/, download Qt online installer, start it and install Qt for Android.

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

                            1 Reply Last reply
                            0
                            • J.HilkJ J.Hilk

                              @freenico said in application (Qt Quick) - only 'Desktop' in Supported Platforms:

                              Is Qt Android a separate package? if so, where would I find it? (there is nothing on this page https://doc.qt.io/qt-5/android.html )

                              its not implicitly stated but at least different Qt versions are mentioned
                              https://doc.qt.io/qt-5/android-getting-started.html#installing-the-android-sdk-essentials
                              as they require different NDK versions.

                              You first 2 Screenshots show the version of Qt used to build the QtDesigner and QtCreator. Those are development tools, that are designed and build with Qt. Qt itself is a framework/library. That comes in different versions and flavours. Depending on what system you want to build your application for, you either have to download the precompiled binaries or compile Qt yourself via the open source source code :D

                              as far as I know Slackware is linux distro, so see this link for the online installer

                              it should detect your os and give you the correct one.

                              The online installer allows you to select what qt version you want to install, I would not recommend installing everything.

                              F Offline
                              F Offline
                              freenico
                              wrote on last edited by
                              #14

                              @J-Hilk thank you. That's all I was hoping.
                              I know that forum's help is not supposed to the job for you; I am happy to go and roll my sleeves up if i get pointed to the right direction.
                              I will take a look at the online installer.
                              Thanks Jsulm

                              1 Reply Last reply
                              1
                              • J.HilkJ J.Hilk

                                @freenico said in application (Qt Quick) - only 'Desktop' in Supported Platforms:

                                Is Qt Android a separate package? if so, where would I find it? (there is nothing on this page https://doc.qt.io/qt-5/android.html )

                                its not implicitly stated but at least different Qt versions are mentioned
                                https://doc.qt.io/qt-5/android-getting-started.html#installing-the-android-sdk-essentials
                                as they require different NDK versions.

                                You first 2 Screenshots show the version of Qt used to build the QtDesigner and QtCreator. Those are development tools, that are designed and build with Qt. Qt itself is a framework/library. That comes in different versions and flavours. Depending on what system you want to build your application for, you either have to download the precompiled binaries or compile Qt yourself via the open source source code :D

                                as far as I know Slackware is linux distro, so see this link for the online installer

                                it should detect your os and give you the correct one.

                                The online installer allows you to select what qt version you want to install, I would not recommend installing everything.

                                F Offline
                                F Offline
                                freenico
                                wrote on last edited by
                                #15

                                @J-Hilk said in application (Qt Quick) - only 'Desktop' in Supported Platforms:

                                The online installer allows you to select what qt version you want to install, I would not recommend installing everything.

                                I am there now. Why would you not recommend that?
                                Which box would you recommend I should tick?
                                It gives me three options:
                                Design Tools
                                Qt 6.2 for Desktop Development
                                Qt 6.2 for mobile development

                                Is Qt 6.2 for mobile development a synonym of Qt for Android?

                                jsulmJ J.HilkJ 2 Replies Last reply
                                0
                                • F freenico

                                  @J-Hilk said in application (Qt Quick) - only 'Desktop' in Supported Platforms:

                                  The online installer allows you to select what qt version you want to install, I would not recommend installing everything.

                                  I am there now. Why would you not recommend that?
                                  Which box would you recommend I should tick?
                                  It gives me three options:
                                  Design Tools
                                  Qt 6.2 for Desktop Development
                                  Qt 6.2 for mobile development

                                  Is Qt 6.2 for mobile development a synonym of Qt for Android?

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

                                  @freenico said in application (Qt Quick) - only 'Desktop' in Supported Platforms:

                                  Why would you not recommend that?

                                  Because most probably you do not need everything. Qt binaries are quite big, so only install what you need.
                                  "Qt 6.2 for mobile development" - is this expandable? I did not use recent installer, so not sure.

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

                                  1 Reply Last reply
                                  0
                                  • F Offline
                                    F Offline
                                    freenico
                                    wrote on last edited by
                                    #17

                                    @jsulm said in application (Qt Quick) - only 'Desktop' in Supported Platforms:

                                    "Qt 6.2 for mobile development" - is this expandable? I did not use recent installer, so not sure.

                                    no, it is not! there is just a thick-box ( i see after it would give the option to select components, maybe there i would have more options)

                                    1 Reply Last reply
                                    0
                                    • F freenico

                                      @J-Hilk said in application (Qt Quick) - only 'Desktop' in Supported Platforms:

                                      The online installer allows you to select what qt version you want to install, I would not recommend installing everything.

                                      I am there now. Why would you not recommend that?
                                      Which box would you recommend I should tick?
                                      It gives me three options:
                                      Design Tools
                                      Qt 6.2 for Desktop Development
                                      Qt 6.2 for mobile development

                                      Is Qt 6.2 for mobile development a synonym of Qt for Android?

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

                                      @freenico said in application (Qt Quick) - only 'Desktop' in Supported Platforms:

                                      @J-Hilk said in application (Qt Quick) - only 'Desktop' in Supported Platforms:

                                      The online installer allows you to select what qt version you want to install, I would not recommend installing everything.

                                      I am there now. Why would you not recommend that?
                                      Which box would you recommend I should tick?
                                      It gives me three options:
                                      Design Tools
                                      Qt 6.2 for Desktop Development
                                      Qt 6.2 for mobile development

                                      Is Qt 6.2 for mobile development a synonym of Qt for Android?

                                      I haven't used the online installer since Qt6 was released, as a Qt5 commercial user I refuse to participate in the new commercial Qt6 Scam,

                                      Anyway, it used to be that you could select almost all versions for all platforms. Since the good all days, it seems the installer got some love.

                                      Nowadays you only see, by default, the latest version that you can actually use on your platform.

                                      So Linux Desktop and Android mobile.

                                      In that case, fell free to install both, if you want to develop for both.

                                      Is Qt 6.2 for mobile development a synonym of Qt for Android?

                                      under linux, yes


                                      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
                                      1
                                      • F Offline
                                        F Offline
                                        freenico
                                        wrote on last edited by
                                        #19

                                        So, guess what: i ticked all three boxes. Newbie solution!
                                        I have lots of HDD space so, why not.
                                        Thanks for the assistance (i will mark this post as solved, although i am not really sure what willl happen after the install finishes)

                                        1 Reply Last reply
                                        0
                                        • F Offline
                                          F Offline
                                          freenico
                                          wrote on last edited by
                                          #20

                                          Another newbie question: I see that, now, I have another version of Qt Creator.
                                          I guess it is safe to remove the previously installed Qt Creator?

                                          jsulmJ 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