I've imported a makefile project (flightgear) in qtcreator and can build it. Now how to debug?
Basically you click in front of the line where you want to place a bookmark. Then you click the green arrow button with a bug on it. Use the buttons to step in/out code blocks.
You can read about it in the Qt Creator manual too.