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. Windows: Ran "repair" on Visual Studio, re-installed Qt, now project builds but won't run.
Forum Updated to NodeBB v4.3 + New Features

Windows: Ran "repair" on Visual Studio, re-installed Qt, now project builds but won't run.

Scheduled Pinned Locked Moved Solved Installation and Deployment
2 Posts 1 Posters 387 Views 1 Watching
  • 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.
  • YosemiteY Offline
    YosemiteY Offline
    Yosemite
    wrote on last edited by Yosemite
    #1

    I was able to develop and run my project in Windows 10, but I wasn't able to run the debugger. Based on suggestions I found in the docs and forums, I made sure that CDB tools were installed and the debugger was detected by Qt Creator. Then I tried running "Repair" in the Visual Studio installer, then I uninstalled and re-installed Qt. Now my project won't run in release mode or debug mode. It builds without any compilation errors, but when I run it no window appears and I get the following errors:

    The program has unexpectedly finished.
    The process was ended forcefully.
    

    I have tried deleting the project Git repository and cloning it again and also build/running with MinGW instead of MSVC, but no luck. The project still builds on my Mac.

    Any thoughts on what to try to get this running again?

    EDIT - here's a screenshot of my Kit config:

    0_1559518948413_Capture.PNG

    1 Reply Last reply
    0
    • YosemiteY Offline
      YosemiteY Offline
      Yosemite
      wrote on last edited by
      #2

      I'm a doofus. There was a non-Qt .dll being used in this project and when I re-installed Qt I selected a different kit without realizing it (12.3 vs 12.2). This created a new build directory and the third-party .dll was not inside it. I just needed to put a copy of the third-party .dll into the new build directory.

      I will mark this as solved and leave it here, in the hopes my doofusery can be instructive to other doofuses someday.

      1 Reply Last reply
      0

      • Login

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