How to see Qt Source code while coding by Qt Creator ?
when I Debug my program and hit a break point, and when I press F11 over a Qt function , Debugger steps into source code of that function, it is very interesting stuff 😀
now, I will see the source code of Qt functions in Qt creator while coding , not at Debug time 😀
How to see Qt Source code while coding by Qt Creator ? when I
Share
You need a debug build of Qt, and you have to build it yourself. Building Qt is easy: see the Installation part of the documentation.
Adding the debug version to Qt Creator
The following instructions are for Qt Creator 2.0.0. If you’re using a different version, adapt as needed. First, you need to add your debug build to the list of available Qt Versions.
bindirectory of your custom-built Qt;Now, configure the project to use your debug build during compilation.
Rebuild your project from scratch with the new settings. You should now be able to debug into Qt code.