Qt World Summit: Register Today!

Windows MSVC debugger

  • Hi everybody,

    I've just managed to make QT work with msvc 2017 (Qt version: 5.9).
    I had previously installed Visual Studio 2017.
    Compiling and running is fine, but I get three warnings in the Kits window:

    1. No Debugger set up
    2. CMake configuration has no path to a C compiler set, even though the kit has a valid toolchain
    3. CMake configuration has no path to a C++ compiler set, even though the kit has a valid toolchain

    I was trying to solve the first one and I found this page: doc.qt.io/qtcreator/creator-debugger-engines.html where it's wirtten to download the WDK (Windows Driver Kit) in order to get WinDbg to debug MSVC applications. Now... does QT need just the debugger or the other tools included in the WDK too? Does the debugger need them?

    The other two warnings are jst a mistery... could you tell me what does Qt want from me?

    Thanks in advance.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    1. Only the debugger is needed

    2 - 3) Do you have cmake installed ?

  • Lifetime Qt Champion

    @LuxGiammi If you don't need CMake then just ignore CMake related warnings

  • Thanks a lot!
    I've installed cdb and now the debugging of my application works!
    I still get the CMake warnings, but, as I've never used it, I probably don't need it.
    Anyway, I'm going to find some new information about it.

    Thanks a lot for both the answers!!


  • Lifetime Qt Champion

    Great !

    Like @jsulm wrote, if you don't use cmake you can safely ignore that warning.

    Since you have it working now, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)

Log in to reply