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

Clang mode model has issues with namespaced Qt builds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 4.8.0, Qt Creator 4.9.0-beta1
    • C/C++/Obj-C++ Support
    • None
    • Windows 10
      MSVC-based builds (2013, 2015, 2017)
    • Windows

    Description

      As suspected in QTCREATORBUG-21765, the clang code model has issues resolving Qt types when a namespaced Qt build is used.

      How to reproduce:

      1. Setup a kit with a namespaced Qt 5.12
      2. Enable the clang code model
      3. Open e.g. the qtcreator project
      4. Open any source file, e.g. main.cpp in the screenshot
      5. Observe the countless clang diagnostics about undeclared/incomplete types and undeclared templates.
      6. Switch to a kit of the same Qt version without namespace
      7. Observe the diagnostics disappear

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            VersalEszett Julius Bullinger
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes