Solved Could not find the Qt platform plugin "windows"
-
@SGaist Thank you! Already done that!
@Deathcomes said in Could not find the Qt platform plugin "windows":
It prints this
QFactoryLoader::QFactoryLoader() checking directory path "MY_PROJECT_PATH/release/platforms" ...
Is there a way to change this? It should by default be "C:\Qt\5.12.1\mingw73_64\plugins" right?
Is there a way to config this path? It should already be fine (tried it on other projects and it works ok (only difference is qt version)) but it seems not.
-
Have you put any other file to "MY_PROJECT_PATH/release" folder?
What if you completely delete that folder and try again? -
@Bonnie I always leave that folder as it so that i don't "break" something. I will check it although!
-
@Bonnie I checked it and the same thing happens.
-
Hi, if you try run another Qt project from inside Qt Creator, like one of Qt's examples, do you get the same error?
-
@hskoglund Theoretically no because i have another project (although with Qt5.2.1) which compiles and runs (from inside Qt) perfectly.
Should i try to test with a new project with 5.12.1? -
Yes, try an example project with 5.12.1.
-
@hskoglund Same thing happens with a new one.
-
Do you have other versions of Qt installed on your system ? For example by other applications ?
-
@SGaist Yes Qt 5.2.1 because i also maintain an older project.
These are my versions settings:
-
I meant: check your system for other Qt version that may have been installed along any of your applications.
-
@SGaist Ow! Sorry! How do i check that?
-
@SGaist I searched but i didn't find any.
-
Should i reinstall Qt 5.12.1 to possibly correct the problem?
-
You can try that yes.
-
@SGaist In what order should i install them in case the order is important? I repeat that i need Qt 5.2.1 and Qt 5.12.1.
-
Reinstalling seems to have fixed the problem! Heck if i knew what was wrong! Can someone mark this issue as solved?
EDIT: Sorry! I found out how to mark my thread as solved! Thanks again for the help!