qt5 debug in qtcreator?

im trying to debug some c++ and qml qt5 code im working on, but notice I cant step through the code in qtcreator....
How do I get debugging working on manjaro?


install gdb

  1. go to Tools > Options
  2. select Build & Run from left side panel
  3. click Kits tab
  4. click on Desktop (default) , with an exclamation mark near it
  5. click Auto-detect.

Debugger row should now say: GDB Engine using "/usr/bin/gdb", and exclamation mark shoud be gone now.

Forum kindly sponsored by