Gewiss ist die Not eine grosse Lehrmeisterin, aber die Stunden, die sie gibt, lässt sie sich teuer bezahlen.
~J.- J. Rousseau
Nicht wo Wahlen stattfinden, sondern erst wo Abwahlen möglich sind, ist wirklich Demokratie.
~Ernst Reinhardt
Die Kunst ist ein Ding viel zu gross und zu schwer und zu lang für ein Leben, und die, welche ein grosses Alter haben, sind erst Anfänger in ihr.
~Rilke
So I think it’s best
we both forget
before we dwell on it
the way you held me so tight
all through the night
’til it was near morning
’cause you love love love
when you know I can’t love you
Since I struggled a lot with the setup of the Debugger for QT heres a guide. The Internet is a hostile place where you can’t find a lot of usefull things for QT. Lets change that.
What do we need? I have already installed QT Creator 5.4 (Community) from their website http://www.qt.io/download. Now QT for itself is working fine, it’s just that I can’t debug.
We need the Windows Standalone Debugging tools, the once included in Visual Studio won’t work. Go to the Website https://msdn.microsoft.com/en-us/windows/hardware/hh852365.aspx or Google it “windows debugging tools” and download the “Standalone Debugging Tools for Windows (WinDbg)” It is important to download the standalone. It doesn’t matter if you are running Windows 7 or 8 just download the debugging tools as part of the Windows 8.1 SDK.
Once downloaded hit install. We will only need the “Debugging Tools for Windows” untick all other checkboxes and go ahead.
After the install start QT Creator, create a Project, set a breakpoint and try to start the debug (f5 to try it quickly). QT should now automatically detect the standalone debugger. If not check your settings under tools -> configuration. Under config and run there is a Tab called Debugger, there are entries for x32 and x64 when autodetected. If not add a new Debugger, normally you can locate it under:
C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\cdb.exe
C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x64\cdb.exe
I have messed around half a day untill I got it, in the end it automatically detected the debugger. If QT does not detect it automatically, you probably installed the wrong Windows debugger. Tell me how to set it up manually if this didn’t work so I can extend this short post.
Archives
- November 2023
- December 2022
- November 2022
- February 2022
- November 2021
- October 2021
- September 2021
- July 2021
- April 2021
- March 2021
- February 2021
- January 2021
- September 2020
- July 2020
- April 2020
- March 2020
- February 2020
- December 2019
- November 2019
- October 2019
- August 2019
- June 2019
- February 2019
- December 2018
- November 2018
- October 2018
- September 2018
- August 2018
- July 2018
- May 2018
- March 2018
- February 2018
- December 2017
- November 2017
- September 2017
- July 2017
- June 2017
- April 2017
- February 2017
- January 2017
- October 2016
- September 2016
- July 2016
- May 2016
- April 2016
- March 2016
- August 2015
- July 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- October 2014
- April 2014
- March 2014
- February 2014