Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
Qt Creator 12.0.2
-
Windows 11,x86
Description
After the clangCodeModel plugin is enabled, the automatic completion function of # include third-party libraries without the. h suffix is invalid
I have introduced the header file directory of my OSG third-party library in the Pro file:
INCLUDEPATH += C:/vcpkg/installed/x64-windows/include
DEPENDPATH += C:/vcpkg/installed/x64-windows/include
The following are the contents of the include folder and the include/osg folder:
When I input # include<osg/Node>in the source code, under normal circumstances, there is a prompt to select the header file in the osg folder when I input # include<osg/, but in reality, it does not prompt.
This issue was resolved when I closed the ClangCodeModel plugin.But I need the clandCodeModel plugin
In addition, after testing, Qt Creator12.0.2 did not find the above issues after installing the clangCodeModel plugin on Linux systems.
Attachments
Issue Links
- is blocked by
-
QTCREATORBUG-26554 clangd #include completion doesn't show files without .h or .hpp
- Open