Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Problem Deploying on Windows



  • 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:
    TheProgram.exe
    D3DCompiler_43.dll
    icudt51.dll
    icuin51.dll
    icuuc51.dll
    libEGL.dll
    libGLESv2.dll
    Qt5Core.dll
    Qt5Gui.dll
    Qt5Widgets.dll

    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.
    Any suggestion?
    Thanks in advance



  • Hi,
    You are at least missing platform plugin ("QTDIR\plugins\platforms\qwindows.dll") in your installer. Other dependencies may be required depending of modules used.


  • Moderators

    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.



  • 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).


Log in to reply