Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Newbie question: Warning Device type is not supported by Qt version
Forum Updated to NodeBB v4.3 + New Features

Newbie question: Warning Device type is not supported by Qt version

Scheduled Pinned Locked Moved Solved Installation and Deployment
22 Posts 3 Posters 5.4k 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.
  • D Offline
    D Offline
    Doug Hutcheson
    wrote on last edited by
    #1

    Background: I am a retired programmer locked down under COVID rules in the Philippines, so I am using my enforced idle time to reskill after a 15 year break. This is my first time with Qt and my goal is to be able to write Android apps as well as desktop applications.

    I run Fedora 33 Linux. I had previously installed Qt4 and Qt5 components from Fedora repository, so I suspect my problems now may be due to a mangled environment, but I don't know how to proceed from where I am and I would greatly appreciate guidance from the assembled brains trust.

    I have just installed Qt Creator from the Qt site. My version is 4.14.0 and my Qt version is 5.15.2

    I created a sample project - addressbook - from the samples provided. When I attempt to build, I get this error message:

    The installed SDK tools version (3.0) does not include Gradle scripts. The minimum Qt version required for Gradle build to work is 5.9.0/5.6.3
    Error while building/deploying project addressbook (kit: Android)
    When executing step "Build Android APK"
    

    When I hover over the Android Build menu option, an information popup appears and it starts with:

    Warning Device type is not supported by Qt version
    

    I have followed ll the paths I have been able to find through Google searches, but cannot work out what has gone wrong.

    The attached screenshots may contain a clue for someone more experienced than me.

    Many thanks in advance for any help.
    QtCreator warning device type is not supported.png

    QtCreator build error for example project addressbook.png

    QtCreator Qt version detected.png

    QtCreator Java and Androids settings seem ok.png

    QtCreator system information.png

    jsulmJ 1 Reply Last reply
    0
    • D Doug Hutcheson

      Background: I am a retired programmer locked down under COVID rules in the Philippines, so I am using my enforced idle time to reskill after a 15 year break. This is my first time with Qt and my goal is to be able to write Android apps as well as desktop applications.

      I run Fedora 33 Linux. I had previously installed Qt4 and Qt5 components from Fedora repository, so I suspect my problems now may be due to a mangled environment, but I don't know how to proceed from where I am and I would greatly appreciate guidance from the assembled brains trust.

      I have just installed Qt Creator from the Qt site. My version is 4.14.0 and my Qt version is 5.15.2

      I created a sample project - addressbook - from the samples provided. When I attempt to build, I get this error message:

      The installed SDK tools version (3.0) does not include Gradle scripts. The minimum Qt version required for Gradle build to work is 5.9.0/5.6.3
      Error while building/deploying project addressbook (kit: Android)
      When executing step "Build Android APK"
      

      When I hover over the Android Build menu option, an information popup appears and it starts with:

      Warning Device type is not supported by Qt version
      

      I have followed ll the paths I have been able to find through Google searches, but cannot work out what has gone wrong.

      The attached screenshots may contain a clue for someone more experienced than me.

      Many thanks in advance for any help.
      QtCreator warning device type is not supported.png

      QtCreator build error for example project addressbook.png

      QtCreator Qt version detected.png

      QtCreator Java and Androids settings seem ok.png

      QtCreator system information.png

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

      @Doug-Hutcheson The Qt version you configured looks like one for X86_64 built with GCC, not Android (Android uses Clang as far as I know). How did you install it?

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

      D 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Doug-Hutcheson The Qt version you configured looks like one for X86_64 built with GCC, not Android (Android uses Clang as far as I know). How did you install it?

        D Offline
        D Offline
        Doug Hutcheson
        wrote on last edited by
        #3

        @jsulm thank you very much for your response. Having the wrong tools would certainly create problems for me.

        I used the online installer which I downloaded from the Qt site and ran on my machine. It is called qt-unified-linux-x64-4.0.1-1-online.run. Is there a different way to install that I missed? I definitely want to be able to create Android apps, so I'm quite happy to start again from scratch if I have installed the wrong thing. It is just a matter of me not knowing what I need.

        The trouble with being a newbie is I don't know what i don't know. :)

        jsulmJ 1 Reply Last reply
        0
        • D Doug Hutcheson

          @jsulm thank you very much for your response. Having the wrong tools would certainly create problems for me.

          I used the online installer which I downloaded from the Qt site and ran on my machine. It is called qt-unified-linux-x64-4.0.1-1-online.run. Is there a different way to install that I missed? I definitely want to be able to create Android apps, so I'm quite happy to start again from scratch if I have installed the wrong thing. It is just a matter of me not knowing what I need.

          The trouble with being a newbie is I don't know what i don't know. :)

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

          @Doug-Hutcheson This is the online installer and that is totally OK. But which exact Qt version did you select in the installer?
          And also: Qt Online Installer installs Qt in the user home directory (subdirectory Qt), not under /usr. So, /usr/bin/qmake-qt5 is almost certainly pointing to Qt installed using your Linux distribution packages.

          Open the Qt Maintenance Tool from your Qt installation (/home/USER_NAME/Qt) and check which Qt version is selected. You need one for Android.

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

          D 1 Reply Last reply
          0
          • jsulmJ jsulm

            @Doug-Hutcheson This is the online installer and that is totally OK. But which exact Qt version did you select in the installer?
            And also: Qt Online Installer installs Qt in the user home directory (subdirectory Qt), not under /usr. So, /usr/bin/qmake-qt5 is almost certainly pointing to Qt installed using your Linux distribution packages.

            Open the Qt Maintenance Tool from your Qt installation (/home/USER_NAME/Qt) and check which Qt version is selected. You need one for Android.

            D Offline
            D Offline
            Doug Hutcheson
            wrote on last edited by
            #5

            @jsulm Ah! Now we are getting somewhere. I am at the end of a VERY slow WiFi internet link, so it will take a long time for the installer to download the metadata again. Regional Philippines areas are very poorly served by the telcos and I usually cannot even browse the internet during daytime hours. If I am lucky, I will get about 10Kbps download: if I am unlucky I will get zero. :[

            There is a vague promise we will see cable internet this year. As you can imagine, I wait with great hope.

            I will start now, but it might literally be hours before I can complete this request.

            jsulmJ 1 Reply Last reply
            0
            • D Doug Hutcheson

              @jsulm Ah! Now we are getting somewhere. I am at the end of a VERY slow WiFi internet link, so it will take a long time for the installer to download the metadata again. Regional Philippines areas are very poorly served by the telcos and I usually cannot even browse the internet during daytime hours. If I am lucky, I will get about 10Kbps download: if I am unlucky I will get zero. :[

              There is a vague promise we will see cable internet this year. As you can imagine, I wait with great hope.

              I will start now, but it might literally be hours before I can complete this request.

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

              @Doug-Hutcheson But you can already check whether you installed any Qt version: check the content of the /home/USER_NAME/Qt folder.

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

              D 1 Reply Last reply
              0
              • jsulmJ jsulm

                @Doug-Hutcheson But you can already check whether you installed any Qt version: check the content of the /home/USER_NAME/Qt folder.

                D Offline
                D Offline
                Doug Hutcheson
                wrote on last edited by
                #7

                @jsulm sorry for the delay - as a new user, I can only post once every 600 seconds ... !

                As expected, the link is slow. I opened the Maintenance tool ten minutes ago and it is still performing the first step, the licence pre-conditions check ...

                This is the content of that directory. What should I be looking for?
                home_doug_Qt.png

                jsulmJ 1 Reply Last reply
                0
                • D Doug Hutcheson

                  @jsulm sorry for the delay - as a new user, I can only post once every 600 seconds ... !

                  As expected, the link is slow. I opened the Maintenance tool ten minutes ago and it is still performing the first step, the licence pre-conditions check ...

                  This is the content of that directory. What should I be looking for?
                  home_doug_Qt.png

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

                  @Doug-Hutcheson You did not install Qt, only QtCreator

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

                  D 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @Doug-Hutcheson You did not install Qt, only QtCreator

                    D Offline
                    D Offline
                    Doug Hutcheson
                    wrote on last edited by
                    #9

                    @jsulm Doh! (Slaps forehead). That would explain a lot.

                    There are many items to choose from. I am inclined to bite the bullet and go straight to Qt6 in that case - is that a wise choice?

                    jsulmJ 1 Reply Last reply
                    0
                    • D Doug Hutcheson

                      @jsulm Doh! (Slaps forehead). That would explain a lot.

                      There are many items to choose from. I am inclined to bite the bullet and go straight to Qt6 in that case - is that a wise choice?

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

                      @Doug-Hutcheson said in Newbie question: Warning Device type is not supported by Qt version:

                      is that a wise choice?

                      I would not do that yet as some modules are not yet available in Qt6 and will come in later point releases. I suggest to go for current Qt5 (5.15.2).

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

                      D 1 Reply Last reply
                      0
                      • jsulmJ jsulm

                        @Doug-Hutcheson said in Newbie question: Warning Device type is not supported by Qt version:

                        is that a wise choice?

                        I would not do that yet as some modules are not yet available in Qt6 and will come in later point releases. I suggest to go for current Qt5 (5.15.2).

                        D Offline
                        D Offline
                        Doug Hutcheson
                        wrote on last edited by
                        #11

                        @jsulm thank you so much for your advice. I will do exactly that and come back if I have further problems.

                        The Maintenance tool is still at the first step ... 28 minutes so far ... I expect this will have to be another overnight job, as I do get marginally usable speeds about 2Mbps between about 1am and 5am (currently 4:07pm).

                        Your time taken to help me is greatly appreciated. :D

                        D 1 Reply Last reply
                        1
                        • D Doug Hutcheson

                          @jsulm thank you so much for your advice. I will do exactly that and come back if I have further problems.

                          The Maintenance tool is still at the first step ... 28 minutes so far ... I expect this will have to be another overnight job, as I do get marginally usable speeds about 2Mbps between about 1am and 5am (currently 4:07pm).

                          Your time taken to help me is greatly appreciated. :D

                          D Offline
                          D Offline
                          Doug Hutcheson
                          wrote on last edited by
                          #12

                          @Doug-Hutcheson I restarted the process at midnight. For most of the past hour it has been dominating the cpu preparing metadata for download. I do not recall ever seeing my Core i7 under such load for so long. interesting and i am curious.

                          Qt Maintenance processor load.png
                          Qt Maintenance processes.png

                          D 1 Reply Last reply
                          0
                          • D Doug Hutcheson

                            @Doug-Hutcheson I restarted the process at midnight. For most of the past hour it has been dominating the cpu preparing metadata for download. I do not recall ever seeing my Core i7 under such load for so long. interesting and i am curious.

                            Qt Maintenance processor load.png
                            Qt Maintenance processes.png

                            D Offline
                            D Offline
                            Doug Hutcheson
                            wrote on last edited by
                            #13

                            @Doug-Hutcheson All cured by rebooting. After a reboot it took less than 2 minutes to get to the point where I could select Qt and start the installation. Sigh.

                            D 1 Reply Last reply
                            0
                            • D Doug Hutcheson

                              @Doug-Hutcheson All cured by rebooting. After a reboot it took less than 2 minutes to get to the point where I could select Qt and start the installation. Sigh.

                              D Offline
                              D Offline
                              Doug Hutcheson
                              wrote on last edited by Doug Hutcheson
                              #14

                              @Doug-Hutcheson In about 4 hours my system has downloaded 36% of Qt 5.15.2, but bandwidth is now rapidly evaporating. It looks like another all-nighter tonight as I babysit the download through inevitable communications glitches.

                              I am not sure how much has been downloaded as I cannot find the files in my home directory, but I'm sure they are there somewhere.

                              As an aside, I clicked on Qt 5.15.2 and hit the button without looking at what was to download. It seems I am getting all the source and debug files for both RHEL and openSUSE, which is overkill as I have no plans to build Qt on my laptop, but never mind.

                              Altogether a reasonably productive night but still no definitive answer to whether my problem has been solved, although I have every confidence my project will indeed compile correctly when the download has finished. As the Internet will be unusable for the rest of the day, I shall now take a well deserved nap for a few hours.

                              jsulmJ 1 Reply Last reply
                              0
                              • D Doug Hutcheson

                                @Doug-Hutcheson In about 4 hours my system has downloaded 36% of Qt 5.15.2, but bandwidth is now rapidly evaporating. It looks like another all-nighter tonight as I babysit the download through inevitable communications glitches.

                                I am not sure how much has been downloaded as I cannot find the files in my home directory, but I'm sure they are there somewhere.

                                As an aside, I clicked on Qt 5.15.2 and hit the button without looking at what was to download. It seems I am getting all the source and debug files for both RHEL and openSUSE, which is overkill as I have no plans to build Qt on my laptop, but never mind.

                                Altogether a reasonably productive night but still no definitive answer to whether my problem has been solved, although I have every confidence my project will indeed compile correctly when the download has finished. As the Internet will be unusable for the rest of the day, I shall now take a well deserved nap for a few hours.

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

                                @Doug-Hutcheson said in Newbie question: Warning Device type is not supported by Qt version:

                                As an aside, I clicked on Qt 5.15.2 and hit the button without looking at what was to download

                                You should be careful when selecting what to install: if you select whole Qt version you will get many different Qt builds (for example Android). So, only select what you really need.
                                I heard (did not check by myself yet) that newest installer/maintenance tool allow one to select mirror from which data is downloaded. Maybe that could help you?

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

                                D 1 Reply Last reply
                                0
                                • jsulmJ jsulm

                                  @Doug-Hutcheson said in Newbie question: Warning Device type is not supported by Qt version:

                                  As an aside, I clicked on Qt 5.15.2 and hit the button without looking at what was to download

                                  You should be careful when selecting what to install: if you select whole Qt version you will get many different Qt builds (for example Android). So, only select what you really need.
                                  I heard (did not check by myself yet) that newest installer/maintenance tool allow one to select mirror from which data is downloaded. Maybe that could help you?

                                  D Offline
                                  D Offline
                                  Doug Hutcheson
                                  wrote on last edited by
                                  #16

                                  @jsulm That seems to be what has happened. I'm developing on an Intel x86_64 box and want to develop for desktop and for Android, so what am i looking for when i choose from the offerings? (The process remained running all day for almost zero progress ... )

                                  jsulmJ 1 Reply Last reply
                                  0
                                  • D Doug Hutcheson

                                    @jsulm That seems to be what has happened. I'm developing on an Intel x86_64 box and want to develop for desktop and for Android, so what am i looking for when i choose from the offerings? (The process remained running all day for almost zero progress ... )

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

                                    @Doug-Hutcheson Expand the Qt version you want to install. Select Android and desktop version. On Windows you have to decide whether you want to use MSVC or MinGW as compiler and then select the desktop version accordingly.

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

                                    D 1 Reply Last reply
                                    0
                                    • jsulmJ jsulm

                                      @Doug-Hutcheson Expand the Qt version you want to install. Select Android and desktop version. On Windows you have to decide whether you want to use MSVC or MinGW as compiler and then select the desktop version accordingly.

                                      D Offline
                                      D Offline
                                      Doug Hutcheson
                                      wrote on last edited by
                                      #18

                                      @jsulm Thanks - I'll restart with the correct selection. I don't need source do I? As a total newbie, I'm not planning to work on Qt itself any time soon.

                                      jsulmJ 1 Reply Last reply
                                      0
                                      • D Doug Hutcheson

                                        @jsulm Thanks - I'll restart with the correct selection. I don't need source do I? As a total newbie, I'm not planning to work on Qt itself any time soon.

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

                                        @Doug-Hutcheson said in Newbie question: Warning Device type is not supported by Qt version:

                                        As a total newbie, I'm not planning to work on Qt itself any time soon.

                                        Then you don't need the sources. You can install them later using Qt Maintenance Tool if you would need them.

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

                                        D 1 Reply Last reply
                                        0
                                        • jsulmJ jsulm

                                          @Doug-Hutcheson said in Newbie question: Warning Device type is not supported by Qt version:

                                          As a total newbie, I'm not planning to work on Qt itself any time soon.

                                          Then you don't need the sources. You can install them later using Qt Maintenance Tool if you would need them.

                                          D Offline
                                          D Offline
                                          Doug Hutcheson
                                          wrote on last edited by
                                          #20

                                          @jsulm Many thanks for putting me straight. I owe you a virtual beer. :)

                                          D 1 Reply Last reply
                                          1

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved