I'm fairly new to qt, so sorry if this is a dumb question, I'm trying to keep debug symbols in a release build on linux.
Most of what I've read has todo with qmake which we dont use. Our project is a makefile project using clang. I have the -g in the release build of my makefile, but when a raise() is called, I'm dumped to assembly which is a little hard for me to debug :) And breakpoints just don't work.
I've tried from what I've read.
What I did first was to add -g
to the release part of my makefile, but qt still didn't pickup the debug symbols.
So in reverse I added -03
to the debug part of the makefile, which allowed me to debug the optimised code.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.