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:

    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": 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

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.