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. [SOLVED] Qt Creator: "This application failed to start because it could not find or load the Qt platform plugin "windows"
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Qt Creator: "This application failed to start because it could not find or load the Qt platform plugin "windows"

Scheduled Pinned Locked Moved General and Desktop
14 Posts 2 Posters 6.9k 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.
  • hskoglundH Online
    hskoglundH Online
    hskoglund
    wrote on last edited by
    #2

    Hi, I were to guess I'd say this sounds like you have an antivirus program that isn't fond of QtCreator :-(

    (If Qtcreator fails to start with that plugin error, most likely it's because the qt.conf file in ..\Tools\QtCreator\bin has been kidnapped/quarantined.)

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Sunrise13
      wrote on last edited by
      #3

      I don't have antivirus :) In ..\Tools\QtCreator\bin there is qt.conf and looks as follow:
      [Paths]
      Libraries=../lib/qtcreator
      Plugins=plugins
      Imports=imports
      Qml2Imports=qml

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

        Hmmm, but today QtCreator works for you? So maybe wait for it to fail again, then check qt.conf...

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Sunrise13
          wrote on last edited by
          #5

          No, right now it's not working. I all time try find reason what's make it crash, but unsuccessful.

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

            I see, interesting! First do a chkdsk just to make sure your hard disk is ok, then you can try to trace how/where QtCreator fails:

            Download "Dependency Walker":http://www.dependencywalker.com/
            Start it and open qtcreator.exe in ..\Tools\QtCreator\bin
            Then under Profile select Start Profiling (just click Ok when the Profile Module dialog box is shown)

            1 Reply Last reply
            0
            • S Offline
              S Offline
              Sunrise13
              wrote on last edited by
              #7

              This is chkdsk log:
              http://pastebin.com/PrU2yhtU
              This is Dependency Walker log:
              http://pastebin.com/b5agkpJ3

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

                Hi, according to Dependency Walker's log it seems you have "WinPatrol":http://www.winpatrol.com/ installed, try to uninstall it, reboot and see if QtCreator works better...

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  Sunrise13
                  wrote on last edited by
                  #9

                  Just 3 minutes ago, I reinstalled Qt, that's why I must wait about week to see if it problem because of WinPatrol or something other.

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

                    No problem, maybe I hear from you next week :-)

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      Sunrise13
                      wrote on last edited by
                      #11

                      The problem isn't in WinPatrol because I uninstalled it, but problem appeared again, today. However yesterday everything worked fine. But now again appeared moc errors in VS 2012 and Qt Creator don't start. Also I noticed that when I click on Qt Project and Qt Settings in QT5 Tab in Visual Studion, it opens console for a second. It turned out that it was qmake.exe executed from C:\Users\Admin\AppData\Local\Temp\3582-490 folder also there were moc.exe, qtcreator.exe, rcc.exe. When I deleted them from folder, they appeared again when I started to build project and run QtCreator.

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        Sunrise13
                        wrote on last edited by
                        #12

                        Well, after some analisis I found that all exe files that I execute from Qt folders, automatically are copied to : C:\Users\Admin\AppData\Local\Temp\3582-490 But when I reinstalled Qt, they stopped copying. I think that there is virus on my PC.

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

                          Maybe not a virus, but something called "Microsoft Detours":http://research.microsoft.com/en-us/projects/detours/

                          It seems to be package for instrumentation/tracing. Perhaps something in your PC triggers it after 5 days, then it rewrites/copies the .exe files to C:\Users\Admin\AppData\Local\Temp\3582-490.
                          (And that's why QtCreator cannot find its qt.conf, which it needs to start properly.)

                          Not 100% sure, but see if you can find it and uninstall it...

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            Sunrise13
                            wrote on last edited by
                            #14

                            Well, I think that problem is solved, because after uninstallation all software that can do something that I described in topic, QtCreator now executes without errors.

                            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