Setting up debugger | qt creator manual.
Install and configure windbg for bsod analysis | tutorials.