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. Qt 5.5.1 for Windows installation fails to "Qt patch error"

Qt 5.5.1 for Windows installation fails to "Qt patch error"

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
18 Posts 3 Posters 3.9k 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.
  • R Offline
    R Offline
    robopoulos
    wrote on last edited by
    #1

    I have been trying to install Qt 5.5.1 without luck. The installation constantly stops in "Qt patch error: Can not open /.../Qt5.5.1/5.5/msvc2013_64/bin/qmake.exe" claiming qmake is in use by some another process, but there should be no other programs running.

    I have uninstalled my antivirus program and also tried the installation as Administrator but those did not help. The same error arises with mingw version too and for both the online or downloaded installers.

    Help appreciated.

    Thanks
    Apu

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

      Hi,

      Any chance of an Anti-virus software running ?

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

      R 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Any chance of an Anti-virus software running ?

        R Offline
        R Offline
        robopoulos
        wrote on last edited by
        #3

        @SGaist

        No, I have uninstalled/removed the F-secure I'm using totally.

        It always stops in the very same spot:

        "Installing component msvc2013 64 bit"

        if that would give a clue.

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

          What version of Windows are you on ?

          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
          0
          • R Offline
            R Offline
            robopoulos
            wrote on last edited by
            #5

            Win 7.

            I did have Qt 5.4 installed prior to this but removed it before starting to install the latest version. Everything was fine with 5.4. I'm currently trying the 5.6 version I get the same error with that too.

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

              Offline installer ?

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

              R 1 Reply Last reply
              0
              • SGaistS SGaist

                Offline installer ?

                R Offline
                R Offline
                robopoulos
                wrote on last edited by
                #7

                @SGaist

                Same result, no luck.

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

                  Silly question, did you reboot after uninstalling F-secure ?

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

                  R 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Silly question, did you reboot after uninstalling F-secure ?

                    R Offline
                    R Offline
                    robopoulos
                    wrote on last edited by
                    #9

                    @SGaist

                    Yes I did.

                    The error message must be (?) leading to wrong direction as there is no qmake before the installer installs it itself and then tries to use it ??? Nothing occupies qmake except the installer itself and I can start and run qmake from the 5.5./msvc2010/bin folder....currently trying the 2010 32-bit version.

                    1 Reply Last reply
                    0
                    • R Offline
                      R Offline
                      robopoulos
                      wrote on last edited by
                      #10

                      This seems to be a bug that appears now and then, even going back to Nokia times. Several bug reports have been issued but I can't find if a solution has been found. Some links:

                      http://comments.gmane.org/gmane.comp.lib.qt.user/13669

                      https://bugreports.qt.io/browse/QTBUG-33290

                      This is a picture of the error message, exactly the same:

                      https://picasaweb.google.com/101710567599383688262/UntitledAlbum?gsessionid=A7o4Pp2CyPdTdXwSSj5S3w#5632107000469000818

                      1 Reply Last reply
                      0
                      • hskoglundH Online
                        hskoglundH Online
                        hskoglund
                        wrote on last edited by
                        #11

                        Hi just guessing but try installing Qt with Windows Defender disabled (just turning off the real-time protection will suffice).

                        1 Reply Last reply
                        0
                        • R Offline
                          R Offline
                          robopoulos
                          wrote on last edited by robopoulos
                          #12

                          Thanks, but no, that is not the cure.

                          I actually got 5.5.1 msvc2013 32 bit version installed now but the actual problem is still there so I am not going to mark this problem as solved.

                          This is some sort of a compatibility issue problem. If I run the installer with <right click menu/Troubleshoot compatibility> and claim that this installer worked with XP SP3 then the installation goes thru without errors. Afterwards the troubleshooter marks the installer as incompatible with Windows 7. Sounds like if some too old stuff has been used ocassionally when compiling the installers. (Edit: however, it installed OK in my Win 10 laptop)

                          I decided to upgrade from 5.4.1 because of the improved opengl stuff. I hope this version is one to keep for a long time. The constant updates are becoming extremely tiresome. Some sort of LTS versions like with Ubuntu would be a bright idea.

                          -Apu

                          PS. (During this successfull installation I also did not open the "show details" window. I'm not going to try if that had anything to do with the installation not succeeding, because that would be too crazy. :-)

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

                            Qt 5.6 is LTS and got released today

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

                            R 1 Reply Last reply
                            0
                            • SGaistS SGaist

                              Qt 5.6 is LTS and got released today

                              R Offline
                              R Offline
                              robopoulos
                              wrote on last edited by
                              #14

                              @SGaist

                              Well that is a must then, so here we go again. :-)

                              Thanks
                              -Apu

                              1 Reply Last reply
                              0
                              • R Offline
                                R Offline
                                robopoulos
                                wrote on last edited by
                                #15

                                Just a last note. The same happens with the LTS 5.6.0 installer and a (temporary) remedy is to run the installer under

                                <right click menu/Troubleshoot compatibility>

                                In the compatibility shells options I lied that it had previously worked with Win XP Service Pack 3. After the installation the compatibility program will mark the installer as incompatible with Windows 7 but Qt 5.6.0 seems to work anyway at least at this point. And yes, I had all windows updates up to date if someone wonders that.

                                -Apu

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

                                  That's strange… I wonder if it's something related to your Win7 installation or Win7 in general. You should check the bug report system to see if you find someting related.

                                  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
                                  0
                                  • R Offline
                                    R Offline
                                    robopoulos
                                    wrote on last edited by
                                    #17

                                    As I wrote earlier this is a know problem/bug already from the Nokia days and bug reports have been issued. Check the links above.

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

                                      My bad, I managed to missed that post. There's seems to indeed be something fishy going on...

                                      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
                                      0

                                      • Login

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