[SOLVED] Qt Creator: "This application failed to start because it could not find or load the Qt platform plugin "windows"
-
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.)
-
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) -
This is chkdsk log:
http://pastebin.com/PrU2yhtU
This is Dependency Walker log:
http://pastebin.com/b5agkpJ3 -
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...
-
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.
-
-
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...