How to debug QGroundControl in QTCreator

Today I tried to to debug QGroundControl in QTCreator 5.12.
So I set breakpoints in main function and run Debugger, but
QGroundControl didn’t stop in main function and display its main win,dow.
How to debug QGroundControl in QTCreator?

That is pretty much how you do it.