Windows: Ran "repair" on Visual Studio, re-installed Qt, now project builds but won't run.
-
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:
-
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.