Solved Qt Creator debugging not starting...
i am trying to debug a simple test window application with qt. The applicatino successfully compiles, but when i try to debug, the debugger will not start, and in general messages windows i have "Running Windows Runtime device detection.
No winrtrunner.exe found." that's all, debugging windows says : debugging starts... debugging has finished. " and in the right corner it 's written lauching debugger with a red bar.
I use Qt 5.12.2 installed with online installer, for windows 10. I have installed only following components.
- Qt 5.12.2 with mingw 7.3.0 32 bit.
- Qt Creator 4.8.2 CDB Debugger support
- MinGW 7.3.0 32-bit.
Under "Manage Kits" options, it's seems that paths are correctly set.
Should i install some other kit? some other thing to let it work?
@SGaist i checked your answer, and saw that message about winrtrunner.exe was not related to launching debugger. I am sorry. Copying in the directory of the executable the libraries that it needs, will solve. Thank you for hint
@emazed I am happy that you resolved the issue.
I had a similar issue, but without the
No winrtrunner.exe founderror.
I was able to track down the issue with the help of Qt Creators' Global Debugger Log window. I found that GDB was loading DLLs from my Git for Windows installation.
Upon further investigation, I found out that I had the C:\Program Files\Git\mingw64\bin path in my Windows System PATH. Removing this path and restarting Qt Creator (or maybe even Windows itself) should solve the issue.
This reply is mostly for people facing the same issue as me. Currently, this post is the second search result on Google when searching for qt debugging has finished.