How to configure CDB in Qt Creator?

前端 未结 7 1727
故里飘歌
故里飘歌 2020-12-02 14:37

The question here is the same as mine but the solution there is not working for me. I am using QtCreator 2.4.1 on Windows 7. When i try to debug a simple hello world app the

7条回答
  •  青春惊慌失措
    2020-12-02 15:00

    It sounds like what I encountered on OSX with the gdb. If so, the solution for me was (within Qt Creator):

    1. Tools
    2. Options...
    3. Build & Run
    4. Qt Versions
    5. Select the corresponding version
    6. Expand the Details panel
    7. Press the Build button which is inline with "GDB Helper"

    In your case, the text would likely be different (CDB instead of GDB perhaps) but the same steps may apply.

提交回复
热议问题