Solved Deployment error on Windows
-
Hello
I've tried to deploy my first QT Program an this didn't work.
Ich have tried the methode from the Guide link text but this doesn't work for me.
The error message i get is "Program can not be started, because QT5Core.dll is not installed on the computer. Please install the Program." or like this, because the error message is on german.
Could anybody help me with this Problem?
Thanks a lot
seprim -
Hello
I have solved the problem.
it was not a problem with the windeployqt.exe but with the compiler. i used mingw and it caused a problem. after I switched to mvsc everything works. -
Hi and welcome to the forums
Im a little bit unsure how your folder layouts actually looks
http://www.tripleboot.org/?p=138
is the subfolders directly next to .exe ?
-
This was only the sorting of Windows Explorer -
@seprim
ok.
it seems to be there. i wonder if its the right version ?
and you copied the DLLS from the compiler folder ?
same compiler used to build exe ? -
hi @seprim
that wiki article is not the best to follow for deploying your application.I'll suggest the follwing, as you're on windows, use the windeployqt - tool it is easy to use, and in 90% off all cases does not need additional manuel intervention.
You'll finde the windeployqt.exe in your Qt-Installation folder. Beware, you may have more than 1 version of it, you need to use the one accompanying the Qt version you used to compile your application.
-
I've tried to use the windeploy tool, but with this the application says on an computer where qt isn't installed "QT5Core.dll is missing".
-
Hello
I have solved the problem.
it was not a problem with the windeployqt.exe but with the compiler. i used mingw and it caused a problem. after I switched to mvsc everything works. -
@seprim
ok, can it be you compiled the APP with msvc ?
(and windepoly took from mingw ?) -
No, the problem was (in my opinion) that Windows didn't want to work with MinGW.
After I switched to MSVC everything works without problems.
Thank you for your help.
(can someone give me a reputation so I can respond more quickly?)