Qt: How to generate an executable with debug info?
When I run qmake -project
, qmake
, make
, gdb my_executable
, I can not debug it, because it does not have debugging information. I need something like g++ -g
. How do I create an executable file with debug information?
+3
Ashot
source
to share
1 answer
qmake
, then qmake CONFIG+=debug
and make
. To get binary with debiging symbols.
+3
sorush-r
source
to share