-
Type:
Bug
-
Status: Closed
-
Priority:
Not Evaluated
-
Resolution: Fixed
-
Affects Version/s: Qt Creator 4.6.0-rc1
-
Fix Version/s: Qt Creator 4.7.0-beta1
-
Component/s: C/C++/Obj-C++ Support
-
Labels:
-
Environment:Windows 10 1709 64 bit
MSVC2015 64 bit
- Open the OpenGLWindow example from Qt's repository.
It's in qtbase\examples\gui\openglwindow\openglwindow.pro - Open main.cpp.
- Go to the line:
glVertexAttribPointer(m_posAttr, 2, GL_FLOAT, GL_FALSE, 0, vertices);
It should be around line 165.
- Right-click on "GL_FALSE" and select "Find Usages" from the context menu.
In the search results, there will be the line/* GL_COLOR_BUFFER_BIT */
from C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\gl\GL.h (or similar).
- Double-click this search result.
GL.h will open at the line#define GL_FALSE 0
The line is found correctly but the wrong line is displayed in the search results. They should display the actual line.
Found when updating Squish-Suite CSUP.