Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Windows MSVC debugger
Forum Updated to NodeBB v4.3 + New Features

Windows MSVC debugger

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 3 Posters 2.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LuxGiammi
    wrote on last edited by
    #1

    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.

    LuxGiammi

    jsulmJ 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      1. Only the debugger is needed

      2 - 3) Do you have cmake installed ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • L LuxGiammi

        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.

        LuxGiammi

        jsulmJ Online
        jsulmJ Online
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

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

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1
        • L Offline
          L Offline
          LuxGiammi
          wrote on last edited by
          #4

          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!!

          LuxGiammi

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            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 :)

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved