Search code examples
c++qtunixvalgrindqmake

How to get Debugging Symbols for Valgrind using a QMake File


Is this possible? The reason why I'm asking is because I'd like to see the line number for the file being used, rather than a hex-dump of various addresses of which I have little idea of what I'm reading.


Solution

  • You need to add this to you configuration file :

    CONFIG += qt debug
    

    See this for mode details.