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

"Unexpectedly finished" error on default project from fresh install



  • I downloaded QtCreator 4.1.0 for Windows with Qt 5.7.0, but whenever I click the button to build and run any project, I get the error message "The program has unexpectedly finished." at runtime. This occurs right from a fresh installation of QtCreator, without changing any of the settings, and it happens even with the default project with no modifications to it. I am using the MSVC compiler.

    When I run the executable manually from the project folder, I get the error "The program can't start because Qt5Widgetsd.dll is missing from your computer. Try reinstalling the program to fix this problem." I'm not sure whether or not this is related to my "unexpectedly finished" issue.

    Please help! I can't run any projects until this issue is resolved.



  • Try to use MinGW and watch whether something will be changed after that.


  • Lifetime Qt Champion

    @murky You should try to debug to see what happens.
    Another thing to check on Windows: do you have any anti virus software running? If so try to disable it temporarily and see whether it helps.


Log in to reply