Solved Could not find or load the Qt platform plugin "windows"
-
@hskoglund The same error unfortunately.
-
Well your Qt Creator works (I mean you can start it), and that is a 32-bit MSVC2013 Release build, so your 32-bit MSVC2013-kit should work.
Try creating a vanilla Widgets app from scratch, if it works launching from Qt Creator, try running windeployqt on it and see if it starts when you double-click it.
-
@Zoltan said in Could not find or load the Qt platform plugin "windows":
@hskoglund The same error unfortunately.
But in QtCreator,
qmake.exe Z.pro -spec win32-msvc2013
is written, which is strange, as I chose 64 bit VS compiler. How can I change it to 64 bit also?
-
Try exiting Qt Creator, delete your .pro.user file and open your .pro file. Then you should be able to select the kit again.
-
@hskoglund said in Could not find or load the Qt platform plugin "windows":
Try exiting Qt Creator, delete your .pro.user file and open your .pro file. Then you should be able to select the kit again.
I created a vanilla project from scratch and that worked for 32 bit. Then I deleted the .pro.user file and set the build to 32 bit VS. After running the windeployqt tool, it starts outside QtCreator. I am very grateful for your advices!
-
@hskoglund How can I accept your answer? I don't see the right icon.
-
Huh? Don't know since the new forum style appeared. I think either click on the "Unsolved" rectangle on top, or click on the "totem pole" belonging to your first post?
-
@Zoltan
You can select a specific answer as the solution by clicking the three dots corresponding to it and selecting Mark this post as the correct answer. Incidentally this will also mark the thread as solved. You can give reputation points with the little arrows below the post (left of the three dots). -
@kshegunov I could give reputation but clicking on the three dots didn't offer me to accept an answer (see this image: http://imgur.com/mPmTemH).
-
@Zoltan Ok, I had to click on the "Topic Tools" at the bottom.
-
@Zoltan said in Could not find or load the Qt platform plugin "windows":
I could give reputation but clicking on the three dots didn't offer me to accept an answer
That's strange, but I'm glad you found the solution, anyway.
-
@kshegunov, it seems that this option disappear once the thread is marked as solved.