Search code examples
qtdlldeploymentqt5qwidget

A qt5 simple app doesn't run in windows 7


I use Qt 5.0.1 and Qt Creator 2.6.2 in W7. I tried to run a simple app from examples which contains only a window ("Widgets tutorial - creating a window"). When I run it in Qt Creator, it works. But when I run it as a standalone app (Release), it doesn't. I filled the folder with every dll it had asked (26 MB of dlls, while the app is 10KB!!!). Now it doesn't ask for any files, it just doesn't run at all with no explanations.

I tried to add some files as it is advised in Application deployed with QT5 libraries does not start on Windows 7 but no luck. In HelloWorld Deployment with QtQuick 2.0 in Windows 7 and XP there are no problems in w7.


Solution

  • May be this a dependency problem, These links describes it:

    Qt 5.0 program runs in QtCreator but not outside

    How to build QTcore4.dll without dependency to MSVCx80.dll?