Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
Qt Creator 4.8.0, Qt Creator 4.9.0-beta1
-
None
-
Windows 10
MSVC-based builds (2013, 2015, 2017)
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:
- Setup a kit with a namespaced Qt 5.12
- Enable the clang code model
- Open e.g. the qtcreator project
- Open any source file, e.g. main.cpp in the screenshot
- Observe the countless clang diagnostics about undeclared/incomplete types and undeclared templates.
- Switch to a kit of the same Qt version without namespace
- Observe the diagnostics disappear