Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-23463

QtCreator since 4.7.x version doesn't work with MSVC SDK

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 4.11.0
    • C/C++/Obj-C++ Support
    • None
    • Windows

    Description

      Precondition:
      Install MSVC 2019 Community edition.
      Install QtCreator 4.7.x or higher on Windows 7.

      Steps to reproduce:
      1) Import existing C++ project from sources (without qmake).
      2) Update file <project name>.includes (add MSVC SDK include paths):
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include
      C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um
      C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\shared
      C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt
      3) Open in editor any C++ file of the project which use any STL class (e.g. std::string).

      Expected result:
      #include <string> parsed without any errors.
      std::string a; can access to the variable 'a' properties via dot.
      Any STL class should be parsed correctly.

      Actual result:
      #include <string> parsed with errors (file not found).
      std::string a; can't access to the variable 'a' properties via dot.
      Any STL class not recognized.

      Note:
      The latest working version is 4.6.2. This version can correctly work with MSVC SDK.
      MinGW SDK parsed correctly by any QtCreator versions.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kosjar Nikolai Kosjar
            akornilov.82 Alexander Kornilov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes