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. Cant Install the latest sdk, qmake.exe being used by another process
QtWS25 Last Chance

Cant Install the latest sdk, qmake.exe being used by another process

Scheduled Pinned Locked Moved Installation and Deployment
22 Posts 8 Posters 23.3k 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.
  • Q Offline
    Q Offline
    qtftw
    wrote on last edited by
    #1

    Hi all,
    just downloaded the latest nokia qt sdk (for windows 7). I'm getting the following error during installation:


    Installer Error

    Error during installation process:
    Qt patch error: Can not open C:/NokiaQtSDK/Symbian/SDK/bin/qmake.exe(The process cannot access the file because it is being used by another process.).

    Retry Ignore Cancel

    Its not the first time I'm installing nokia qt sdk. I was running the 1.0 sdk and it worked fine. I started its update application, and maybe due to battery or some other reason the laptop restarted while the update process was on going, since then the update never completes and so I decided I should uninstall it and install it again, but my old installer of 1.0 sdk version didnt install properly when I tried and gave the same error as above.

    So I decided to download the latest sdk thinking maybe it'll install fine but to no avail.

    Plz help. Thanks.

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qtftw
      wrote on last edited by
      #2

      Hi, its been days since i posted this question and there is no reply, I hope it is not wrong place to ask this question.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        anselmolsm
        wrote on last edited by
        #3

        [quote author="qtftw" date="1289669458"]Hi, its been days since i posted this question and there is no reply, I hope it is not wrong place to ask this question.[/quote]

        Be patient :-P
        I think less people is in the DevNet these days due to events (Qt Dev Days San Francisco last week, MeeGo Conf next week) and/or vacations.

        Well, I have no idea of what's happening, since I don't use Windows for a long time. The default recommendation would be 'restart your machine, then try again', but I suppose you already did that. If you think it is a bug in the SDK itself, i.e. not a Windows bug, fill a "bug report":http://bugreports.qt.nokia.com/ about it.

        Let's see if anyone else can help here too.

        Anselmo L. S. Melo (anselmolsm)

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          qtftw
          wrote on last edited by
          #4

          oh its ok then :)
          Yea I have like tried everything. The only thing left is reinstall windows just to install qt sdk, and if that has to be done then its definitely a bug in qt sdk.
          I hope when ppl come back they do have a look at this post and help me debug. I have dual boot fedora in this laptop but due to some other software I get to use windows more and it wud be really gud if this installation starts working.

          1 Reply Last reply
          0
          • ? This user is from outside of this forum
            ? This user is from outside of this forum
            Guest
            wrote on last edited by
            #5

            Have you tried to just delete the NokiaQtSDK folder and reinstall? I ran into an issue once while uninstalling and this worked for me

            1 Reply Last reply
            0
            • Q Offline
              Q Offline
              qtftw
              wrote on last edited by
              #6

              Yes I have tried that also. Tried installing in another folder also. Tried installing in another partition too. Also cleared the temp folder in case something is wrong there with some previous installation files.

              1 Reply Last reply
              0
              • R Offline
                R Offline
                rupeshbhurke
                wrote on last edited by
                #7

                Hi, I am facing the same problem while installing it on my machine. But when I installed it on a colleague's machine it worked like a charm. Now the difference is I already have older versions of SDK on my machine and colleague's machine didn't have any. Could that be the reason?

                BR
                Rupesh

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  lgeyer
                  wrote on last edited by
                  #8

                  Try disabling your virus protection software during install.

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    rupeshbhurke
                    wrote on last edited by
                    #9

                    Hi,

                    Thanks for suggestion, I just tried what you said. but that doesn't work either. :(

                    BR
                    Rupesh

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

                      Screenshot : https://picasaweb.google.com/rupeshbhurke/UntitledAlbum#5632107000469000818

                      1 Reply Last reply
                      0
                      • L Offline
                        L Offline
                        lgeyer
                        wrote on last edited by
                        #11

                        Have you tried to figure out "which process":http://technet.microsoft.com/de-de/sysinternals/bb896655 is accessing qmake?
                        @
                        handle qmake.exe
                        @

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

                          The output is
                          @
                          E:\Downloads\Handle>handle qmake.exe

                          Handle v3.46
                          Copyright (C) 1997-2011 Mark Russinovich
                          Sysinternals - www.sysinternals.com

                          No matching handles found.
                          @
                          Then I clicked on Retry! And ran handle again. Output:
                          @
                          E:\Downloads\Handle>handle qmake.exe

                          Handle v3.46
                          Copyright (C) 1997-2011 Mark Russinovich
                          Sysinternals - www.sysinternals.com

                          System pid: 4 type: File CC0: E:\QtSDK\Desktop\Qt\4.7
                          .3\mingw\bin\qmake.exe
                          @

                          After some moments it showed same error again. Running handle again produces same output
                          @E:\Downloads\Handle>handle qmake.exe

                          Handle v3.46
                          Copyright (C) 1997-2011 Mark Russinovich
                          Sysinternals - www.sysinternals.com

                          System pid: 4 type: File CC0: E:\QtSDK\Desktop\Qt\4.7
                          .3\mingw\bin\qmake.exe
                          @

                          1 Reply Last reply
                          0
                          • L Offline
                            L Offline
                            lgeyer
                            wrote on last edited by
                            #13

                            This means that some piece of kernel mode code (driver, filter, service, ...) is accessing the file.

                            Be sure that your virus protection software is really disabled - most products keep running even though disabled and need a restart or a complete removal for having them turned off.

                            If you can exclude your virus protection software my next bet would be the bloody Application Experience (or Application Compatibility Assistant) which can be disabled by group policy Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Application Compatibility and the Application Experience service.

                            1 Reply Last reply
                            0
                            • R Offline
                              R Offline
                              rupeshbhurke
                              wrote on last edited by
                              #14

                              Hi, I am not sure how to change the policies. But I uninstalled the AV and restarted the machine and re-ran the installer. I got the same error. What should I try next?

                              BR
                              Rupesh

                              1 Reply Last reply
                              0
                              • L Offline
                                L Offline
                                lgeyer
                                wrote on last edited by
                                #15

                                You can edit group policy objects using the Group Policy Editor (Windows + R, gpedit.msc).

                                1 Reply Last reply
                                0
                                • R Offline
                                  R Offline
                                  rupeshbhurke
                                  wrote on last edited by
                                  #16

                                  I get "Windows can't find gpedit.msc. Make sure you typed the name correctly, and then try again.
                                  I have Windows 7 Home Basic Edition. Does that have anything to do missing gpedit.msc?
                                  I searched whole PC for gpedit.msc but found none! :(

                                  1 Reply Last reply
                                  0
                                  • L Offline
                                    L Offline
                                    lgeyer
                                    wrote on last edited by
                                    #17

                                    [quote author="rupeshbhurke" date="1311430568"]I get "Windows can't find gpedit.msc. Make sure you typed the name correctly, and then try again.
                                    I have Windows 7 Home Basic Edition. Does that have anything to do missing gpedit.msc?
                                    I searched whole PC for gpedit.msc but found none! :([/quote]

                                    The Group Policy Editor is not included in Home editions. However, it is just a MMC snap-in which operates on registry entries.

                                    See "this list":http://www.microsoft.com/downloads/info.aspx?na=41&srcfamilyid=18c90c80-8b0a-4906-a4f5-ff24cc2030fb&srcdisplaylang=en&u=http://download.microsoft.com/download/8/F/B/8FBD2E85-8852-45EC-8465-92756EBD9365/WindowsServer2008R2andWindows7GroupPolicySettings.xlsx, Administrative Templates, line 16+.

                                    1 Reply Last reply
                                    0
                                    • K Offline
                                      K Offline
                                      kerlaeda
                                      wrote on last edited by
                                      #18

                                      I had the same problem.
                                      I tried to solve it so:

                                      • use unlocker, handle (from sysinternals.com) to find and remove locked deskriptor
                                      • disable antivirus (NOD 32)
                                      • uninstall antivirus

                                      But when run qt installer with windows xp sp3 compatibility it works fine.
                                      PS: OS - Windows7 Ultimate 32Bit

                                      A 1 Reply Last reply
                                      1
                                      • J Offline
                                        J Offline
                                        Justin Buser
                                        wrote on last edited by
                                        #19

                                        [quote author="Lukas Geyer" date="1311332544"]This means that some piece of kernel mode code (driver, filter, service, ...) is accessing the file.

                                        Be sure that your virus protection software is really disabled - most products keep running even though disabled and need a restart or a complete removal for having them turned off.

                                        If you can exclude your virus protection software my next bet would be the bloody Application Experience (or Application Compatibility Assistant) which can be disabled by group policy Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Application Compatibility and the Application Experience service.[/quote]

                                        Actually the error has nothing to do with "Antivirus Software" (I don't run any) and doesn't even make sense to begin with unless the installer was trying to write to qmake.exe. The reason that the main system process shows up the second time you run handle is that handle uses that process to check for other open handles, if you exit the command prompt then run it again you'll get no matching handles again. Basically this issue just comes down to sloppy programming and shoddy QA.

                                        I encountered the same problem along with about a half a dozen unrelated errors during the install process
                                        until I eventually gave up and cancelled the installation. Never having heard of Qt I was pleased to learn of its existence and was looking forward to trying it out. However, even being a developer myself and fairly accustomed to bugs/glitches etc... I still feel that this type of thing goes way beyond what I consider to be an acceptable QA oversight. To be frank the fact that this IDE is being represented as a production/release quality product is simply ridiculous, personally I would be embarrassed to be associated with such a pathetic piece of crap.

                                        1 Reply Last reply
                                        0
                                        • K Offline
                                          K Offline
                                          kerlaeda
                                          wrote on last edited by
                                          #20

                                          You can also set property "windows xp sp3 compatibility" for qmake.exe when warning message is appear. Then press "Retry" and install QtSDK fine again!

                                          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