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?
-
Hi,
Are you trying to run your application outside Qt Creator ? If so, did you proceed with the deployment procedure ?
-
Hi,
Are you trying to run your application outside Qt Creator ? If so, did you proceed with the deployment procedure ?
@SGaist No inside.
-
Any ideas? If you want more details tell me.
-
Please show some patience and allow at least 24 hours before bumping your own thread. This is a voluntary driven forum and people answering here might not live in the same time zone as you.
Start your application with the QT_DEBUG_PLUGINS environment variable set to 1. It will log what happens with the plugin.
-
Please show some patience and allow at least 24 hours before bumping your own thread. This is a voluntary driven forum and people answering here might not live in the same time zone as you.
Start your application with the QT_DEBUG_PLUGINS environment variable set to 1. It will log what happens with the plugin.
@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.
-
@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? -
@hskoglund Same thing happens with a new one.
-
Do you have other versions of Qt installed on your system ? For example by other applications ?
-
Do you have other versions of Qt installed on your system ? For example by other applications ?
-
I meant: check your system for other Qt version that may have been installed along any of your applications.
-
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?
-
I meant: check your system for other Qt version that may have been installed along any of your applications.
@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.