Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    [SOLVED] Setting up Visual Studio compiler with qt

    General and Desktop
    visual studio debug compile compiler debugger visual c++
    3
    4
    4566
    Loading More Posts
    • 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.
    • D
      danieldil last edited by danieldil

      I am trying to set up the MSVC compiler. It was installed with QT. I went to
      options->build&run->kits and it has no debugger specified. Where is the debugger file from microsoft visual studio so I can assign it as the debugger for this. I looked in the files and couldn't find it. I connected it with the MINGW debugger and when i run that it says

      'cl' is not recognized as an internal or external command,
      operable program or batch file.
      jom: C:\Users\Daniel\Documents\build-untitled3-Desktop_Qt_5_4_2_MSVC2013_32bit-Debug\Makefile.Debug [debug\main.obj] Error 1
      jom: C:\Users\Daniel\Documents\build-untitled3-Desktop_Qt_5_4_2_MSVC2013_32bit-Debug\Makefile [debug] Error 2
      01:31:05: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.
      Error while building/deploying project untitled3 (kit: Desktop Qt 5.4.2 MSVC2013 32bit)
      When executing step "Make"

      Can anyone help?

      1 Reply Last reply Reply Quote 0
      • TheBadger
        TheBadger last edited by TheBadger

        Hi @danieldil ,

        Download and install the WinDbg package from Microsoft from: https://msdn.microsoft.com/en-us/windows/hardware/hh852365.aspx

        You can either install "WDK 8.1" or "Standalone Debugging Tools for Windows "

        I do not really know why these tools are not an optional install step along with the Visual Studio (express) tools, perhaps I am missing something.

        Regards,


        Check out my SpellChecker Plugin for Qt Creator @ https://github.com/CJCombrink/SpellChecker-Plugin

        D 1 Reply Last reply Reply Quote 0
        • SGaist
          SGaist Lifetime Qt Champion last edited by

          Hi,

          Did you install Visual Studio 2013 prior to installing Qt ?

          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 Reply Quote 0
          • D
            danieldil @TheBadger last edited by

            @TheBadger Thank you that was the right link.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post