Problem Deploying on Windows
VRonin last edited by
I recently switched to Qt 5 and I found myself in big problems when I try to deploy my program.
In the same folder I placed:
When I double click on the exe it won't give me any "missing library" error but still it won't start. On my machine works fine (even if I move it around in the directories).
I even tried copying ALL the dlls from the Qt folder put that didn't solve the problem.
Thanks in advance
unai_i last edited by
You are at least missing platform plugin ("QTDIR\plugins\platforms\qwindows.dll") in your installer. Other dependencies may be required depending of modules used.
Please consult the official "deployment guide":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html. It's quite long, but contains all the information.
KeithS last edited by
Did you run the appropriate vcredist exe on the target machine to install the C runtime libs that the application will expect?
Best way of debugging this sort of thing is with Dependency Walker - google it. It's saved me a lot of headaches (although it does produce some misleading warnings that can be ignored).