Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. "Unexpectedly finished" error on default project from fresh install

"Unexpectedly finished" error on default project from fresh install

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 3 Posters 738 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    murky
    wrote on last edited by
    #1

    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.

    jsulmJ 1 Reply Last reply
    0
    • T Offline
      T Offline
      Tikani
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • M murky

        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.

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @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.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved