Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator and MS C++ Build Tools
Forum Update on Monday, May 27th 2025

Qt Creator and MS C++ Build Tools

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
22 Posts 8 Posters 17.5k Views
  • 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.
  • Nikolay D. BychinskiyN Offline
    Nikolay D. BychinskiyN Offline
    Nikolay D. Bychinskiy
    wrote on last edited by
    #5

    Default location. It should detect it.

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

      The full path would be useful in this case to check with the code.

      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
      0
      • Nikolay D. BychinskiyN Offline
        Nikolay D. BychinskiyN Offline
        Nikolay D. Bychinskiy
        wrote on last edited by
        #7

        It installs multiple things, code checks for vcbuildtools.bat in "C:\Program Files (x86)\Microsoft Visual C++ Build Tools" which I have.

        1 Reply Last reply
        0
        • Mauro177M Offline
          Mauro177M Offline
          Mauro177
          wrote on last edited by
          #8

          I'm in same situation of Nikolay. QtCreator 4.0 doesn't detect MS C++ Build Tools, on a Win 7 32 bit machine, and there isn't a way to manually add MSVC toolchain.
          On the same machine, QtCreator 3.6.1 auto detects MSVC toolchain correctly.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            synasius
            wrote on last edited by
            #9

            Same here. Qt Creator 4.0 cannot detect MS C++ Build Tools. I'm running a Windows Server 2012 64bit

            1 Reply Last reply
            0
            • LorenzoBL Offline
              LorenzoBL Offline
              LorenzoB
              wrote on last edited by
              #10

              I'm having the same problem on a Win 7 Desktop.
              Are Qt Creator 4.0 and Qt 5.6 compatible with:
              Microsoft Visual Studio Community 2015
              Version 14.0.23107.0 D14REL

              1 Reply Last reply
              0
              • S Offline
                S Offline
                synasius
                wrote on last edited by
                #11

                Hi all,
                the issue seems to be fixed here: https://bugreports.qt.io/browse/QTCREATORBUG-16136

                1 Reply Last reply
                0
                • joaopagottoJ Offline
                  joaopagottoJ Offline
                  joaopagotto
                  wrote on last edited by
                  #12

                  Hello . I'm MSVC2015 problems , it does not work and gives as not recognized CL command. What can it be ?

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

                    Hi,

                    Did you install Visual Studio 2015 or at least the corresponding Build Tool package ?

                    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
                    0
                    • joaopagottoJ Offline
                      joaopagottoJ Offline
                      joaopagotto
                      wrote on last edited by
                      #14

                      It worked and stopped for no reason.

                      I can only do work that way.

                      Open Windows 10 Line Command:

                      %comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"" x86

                      C:\Qt\Tools\QtCreator\bin\qtcreator.exe

                      Only in this way works.

                      Along with MSVC 2015 package appears an exclamation mark .

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

                        You should be able to get more information hovering the exclamation mark

                        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
                        0
                        • joaopagottoJ Offline
                          joaopagottoJ Offline
                          joaopagotto
                          wrote on last edited by
                          #16

                          https://s32.postimg.org/p0mazvdsl/error.png

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

                            Silly question but do you have setup cmake in the corresponding tab ?

                            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
                            0
                            • joaopagottoJ Offline
                              joaopagottoJ Offline
                              joaopagotto
                              wrote on last edited by
                              #18

                              The problem was solved.

                              The operating system or visual studio 2015 should be corrupted after formatting and reinstalling everything functioned normally .

                              Other applications were also with strange behavior .

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

                                2016 and reformatting still works well it seems :D

                                Glad you found a solution and thanks for sharing.

                                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
                                • T Offline
                                  T Offline
                                  twar
                                  wrote on last edited by
                                  #20

                                  Hello,
                                  I've got exactly the same problem and I do not know how to fix it.

                                  I installed
                                  https://www.visualstudio.com/pl/downloads/?rr=https%3A%2F%2Fwww.google.pl%2F
                                  Build Tools for Visual Studio 2017
                                  but I cannot set this in qtcreator.

                                  jsulmJ 1 Reply Last reply
                                  0
                                  • T twar

                                    Hello,
                                    I've got exactly the same problem and I do not know how to fix it.

                                    I installed
                                    https://www.visualstudio.com/pl/downloads/?rr=https%3A%2F%2Fwww.google.pl%2F
                                    Build Tools for Visual Studio 2017
                                    but I cannot set this in qtcreator.

                                    jsulmJ Offline
                                    jsulmJ Offline
                                    jsulm
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #21

                                    @twar What exact Qt version did you install?
                                    "but I cannot set this in qtcreator" - what exactly is the problem?

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

                                    1 Reply Last reply
                                    0
                                    • T Offline
                                      T Offline
                                      twar
                                      wrote on last edited by
                                      #22

                                      Sorry for trouble it was my bad.
                                      I tried to use Qt 5.6.3 for Windows 64-bit with build tools for visual studio 2017 but now I downloaded Qt 5.9.2 for Windows (2.2 GB) (info) and it seems to work just fine.

                                      1 Reply Last reply
                                      0

                                      • Login

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