Debug problem
-
Hi everybody
When i want to debug my project i have these warnings. I'm using 5.4 Qt version.
This does not seem to be a "Debug" build.
Setting breakpoints by file name and line number may fail.Section .debug_info: Not found.
Section .debug_abbrev: Not found.
Section .debug_line: Not found.
Section .debug_str: Not found.
Section .debug_loc: Not found.
Section .debug_range: Not found.
Section .gdb_index: Not found.
Section .note.gnu.build-id: Found.
Section .gnu.hash: Found.
Section .gnu_debuglink: Not found.Could someone helps me?
Many thanksAlberto
-
Hi, You do have "Debug" build type set right? If you look in the lower left corner of Qt Creator it should have a computer icon and say "Debug".
I'd then look at the "Projects" tab (on the left) then make sure you select "Build". There should be a dropdown for Debug and further down if you look at the build steps you should see "Config+=debug" on the qmake command line.