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. Install Error : "qmake.exe -query" is not parseable?
Forum Updated to NodeBB v4.3 + New Features

Install Error : "qmake.exe -query" is not parseable?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
11 Posts 5 Posters 2.8k Views 2 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.
  • S Offline
    S Offline
    Slouch
    wrote on 4 Jun 2019, 10:08 last edited by Slouch 6 Apr 2019, 10:26
    #1

    Hi there!

    When installing under Windows 7 32-bit, I receive the following errors...

    The output of C:\Qt\Qt5.12.3\msvc2015_64\bin\qmake.exe -query is not parseable.
    The output of C:\Qt\Qt5.12.3\msvc2017_64\bin\qmake.exe -query is not parseable.
    The output of C:\Qt\Qt5.12.3\mingw73_64\bin\qmake.exe -query is not parseable.
    The output of C:\Qt\Qt5.12.3\android_x86\bin\qmake.exe -query is not parseable.

    (and many other similar errors)

    Any idea what the problem is?

    This previous post by another user may help:
    https://forum.qt.io/topic/56178/5-5-0-winxp-installed-binaries-are-invalid

    Please advise!

    Regards,
    Scott

    ![alt text](2_1559643940187_error_install3.jpg 1_1559643940187_error_install2.jpg 0_1559643940186_error_install.jpg image url)

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 4 Jun 2019, 10:45 last edited by
      #2

      I think development on Windows 7 is no longer supported, but I can't find any info to confim that. Try installing an older release (5.11 or previous LTS: 5.9). The documentation only states that the MinGW platform is reference one. So perhaps installation of MinGW will work.

      Note: you should still be able to develop and deploy on Windows 10 and then use that deployed executable on Windows 7.

      (Z(:^

      K 1 Reply Last reply 4 Jun 2019, 11:28
      0
      • S sierdzio
        4 Jun 2019, 10:45

        I think development on Windows 7 is no longer supported, but I can't find any info to confim that. Try installing an older release (5.11 or previous LTS: 5.9). The documentation only states that the MinGW platform is reference one. So perhaps installation of MinGW will work.

        Note: you should still be able to develop and deploy on Windows 10 and then use that deployed executable on Windows 7.

        K Offline
        K Offline
        KroMignon
        wrote on 4 Jun 2019, 11:28 last edited by
        #3

        @sierdzio said in Install Error : "qmake.exe -query" is not parseable?:

        I think development on Windows 7 is no longer supported,

        My workstation is a Windows 7 Pro/64 Bit, and it works without any problem!
        So Windows 7 is still supported, but when you use Windows 7 32 bits, you can not install 64 bit Qt Kits like MinGW 7.3.0 64bit (first screenshot), MSVC 2017 64bit (second screenshot) and MSVC 2015 64bit (third screenshot).

        Select only 32bit Qt Kits.

        It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

        S 1 Reply Last reply 4 Jun 2019, 18:08
        3
        • S Offline
          S Offline
          sierdzio
          Moderators
          wrote on 4 Jun 2019, 11:49 last edited by
          #4

          Ah, well spotted.

          (Z(:^

          1 Reply Last reply
          0
          • K KroMignon
            4 Jun 2019, 11:28

            @sierdzio said in Install Error : "qmake.exe -query" is not parseable?:

            I think development on Windows 7 is no longer supported,

            My workstation is a Windows 7 Pro/64 Bit, and it works without any problem!
            So Windows 7 is still supported, but when you use Windows 7 32 bits, you can not install 64 bit Qt Kits like MinGW 7.3.0 64bit (first screenshot), MSVC 2017 64bit (second screenshot) and MSVC 2015 64bit (third screenshot).

            Select only 32bit Qt Kits.

            S Offline
            S Offline
            Slouch
            wrote on 4 Jun 2019, 18:08 last edited by Slouch 6 Apr 2019, 19:05
            #5

            @KroMignon @sierdzio Thanks guys.

            Yes, it does work perfectly on a 64-bit Windows 7 machine.

            On my 32-bit Win 7 machine, the file I downloaded is called "qt-unified-windows-x86-3.1.1-online.exe", which seems to be a 32-bit version of the Installer.

            Shouldn't this 32-bit Installer only offer me 32-bit options? I think the non-compatible options should be disabled, so no mistakes are made.

            In any case, I have uninstalled, and am attempting to install again.

            Please check the attached screen shot for the options I have checked. Do they appear correct for a 32-bit installation?

            Regards,
            Scott
            (https://ddgobkiprc33d.cloudfront.net/35334468-17c6-4b54-b39d-13345a5a507b.jpg)!
            0_1559675150036_re_install.jpg

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 4 Jun 2019, 18:58 last edited by
              #6

              Hi,

              No it should not, because the 32bit installer can run perfectly fine in 64bit Windows installation.

              The selection for Windows development is correct.

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

              S 1 Reply Last reply 4 Jun 2019, 21:32
              0
              • S SGaist
                4 Jun 2019, 18:58

                Hi,

                No it should not, because the 32bit installer can run perfectly fine in 64bit Windows installation.

                The selection for Windows development is correct.

                S Offline
                S Offline
                Slouch
                wrote on 4 Jun 2019, 21:32 last edited by Slouch 6 May 2019, 01:00
                #7

                @SGaist Thank you for the reply.

                The following components appear to be 32-bit, yet they still show an error message...

                \Qt\5.12.3\android_x86\bin\qmake.exe -query
                \Qt\5.12.3\android_arm64_v8a\bin\qmake.exe -query
                \Qt\5.12.3\android_armv7\bin\qmake.exe -query
                
                and a slew of other Android-related errors.
                

                Consequently, there are no Android choices on the menu after installation...

                What might cause these errors?

                Thanks!
                4_1559683956153_could_not_find4.jpg 3_1559683956153_could_not_find3.jpg
                1_1559685560417_64bitmenu.jpg 0_1559685560416_32bitmenu.jpg

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  sierdzio
                  Moderators
                  wrote on 5 Jun 2019, 05:33 last edited by
                  #8

                  Do you plan to deploy to Android? If no, then just skip these packages. I also doubt you need all the desktop packages you selected, you're most likely use just a single build type.

                  (Z(:^

                  S 1 Reply Last reply 5 Jun 2019, 17:07
                  0
                  • S sierdzio
                    5 Jun 2019, 05:33

                    Do you plan to deploy to Android? If no, then just skip these packages. I also doubt you need all the desktop packages you selected, you're most likely use just a single build type.

                    S Offline
                    S Offline
                    Slouch
                    wrote on 5 Jun 2019, 17:07 last edited by
                    #9

                    @sierdzio I would like to use Android, as well as Windows and Linux. My project involves an embedded Linux device (Raspberry Pi), as well as an Android app and Windows client which would both access and maintain the device. Why would the Android kits not install on the 32-bit machine?

                    S 1 Reply Last reply 5 Jun 2019, 20:39
                    0
                    • S Slouch
                      5 Jun 2019, 17:07

                      @sierdzio I would like to use Android, as well as Windows and Linux. My project involves an embedded Linux device (Raspberry Pi), as well as an Android app and Windows client which would both access and maintain the device. Why would the Android kits not install on the 32-bit machine?

                      S Offline
                      S Offline
                      sierdzio
                      Moderators
                      wrote on 5 Jun 2019, 20:39 last edited by
                      #10

                      @Slouch said in Install Error : "qmake.exe -query" is not parseable?:

                      Why would the Android kits not install on the 32-bit machine?

                      Apparently they were compiled using 64 bit host.

                      I would like to use Android, as well as Windows and Linux.

                      In such case I'd recommend developing for Rpi and Linux on Linux, and only do occasional Windows builds on Windows. Less hassle.

                      (although if your CPU is 32 bit only, you'll probably hit similar installation issues on Linux. You can, however, compile Qt yourself and it should work).

                      (Z(:^

                      1 Reply Last reply
                      1
                      • I Offline
                        I Offline
                        iieklund
                        wrote on 13 Jun 2019, 07:13 last edited by
                        #11

                        Hi Scott,

                        sorry for the inconvenience with the installer.

                        Errors related to "qmake.exe -query is not parseable" happens usually because:

                        1. <your_qtsdk_root_dir>/5.12.3/msvc2015_64/bin/qmake.exe does not exist
                        2. <your_qtsdk_root_dir>/5.12.3/msvc2015_64/bin/qmake.exe can not be executed

                        For the (1) there can be multiple reasons:

                        • Releasing/Packaging bug (dependencies in component .xml files -> the component is not extracted on disk prior to trying to access files (qmake.exe) from it)
                        • Installer-Framework bug, it failed to extract the archive (containing the qmake.exe) to disk
                        • insufficient disk space (installer should warn about this though)

                        For (2) the reasons are usually:

                        • directory permission issue, you can try installing with admin rights but generally this is not recommended, try to install to directory where the user has permissions
                        • virus scanner kicks in
                        • trying to install & run 64bit Qt executables on 32bit machine

                        Could you try to rule out the obvious ones first? If the issue persists please open a bug report with as much details as possible.

                        You can also check the following:

                        • run the installer as before
                        • once the error is shown by the installer do not continue/abort, just leave the session there
                        • open another terminal/file browser
                        • go to the "<your_qtsdk_root_dir>/5.12.3/msvc2015_64" directory, what files are there? If qmake.exe is there can you invoke the "qmake.exe -query"? How are the permissions for the directory and files?
                        1 Reply Last reply
                        3

                        • Login

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