When I run qmake -project
, qmake
, make
, gdb my_executable
I cant debug it because it has not debug info. I need something like g++ -g
option. How to create executable with debug info?
qmake
then qmake CONFIG+=debug
and make
. To get a binary with debiging symbols.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With