Missing Qt5Core.dll when running fresh QtCreator compile
-
Hello everyone,
After I compiled QtCreator using MinGW, I tried to run qtcreator.exe and I get an error saying
"The program can't start because Qt5Core.dll is missing from your computer. Try reinstalling the program to fix this problem." SeeThank you for any info.
[edit:koahnig; added the exclamation mark in front of your link to make pciture visible]
-
After compiling Qt creator it is like any other application compiled against a Qt lib version.
You need to follow the step of windows deployment and setup the same structure as for any other application. Beware that you are using the dlls and plugins for the actual Qt lib version of your compilation. It is certainly not on the long run a good idea to set simply a path value. Latest when you try to use your own compilation of Qt creator with another Qt lib version this will haunt you. ;) -
Simple Method..
-
From the desktop, right click the Computer icon.
-
Choose Properties from the context menu.
-
Click the Advanced system settings link.
-
list item Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New.
-
In the Edit System Variable (or New System Variable) window, specify the value of the PATH environment variable example(C:\Qt\Mingw32\bin). Click OK. Close all remaining windows by clicking OK
-