summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopengl.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-09-29 10:39:07 +0300
committerMartin Storsjö <martin@martin.st>2022-09-29 17:18:55 +0300
commit11be4c5ce801c870081387e40dfbd813e299f34d (patch)
tree25a3fa8760614a310f086e840043e02f3be2862e /src/gui/opengl/qopengl.cpp
parent42b66bd809f0cadf232cd8527746b55cd00d9f10 (diff)
Fix building with disabled OpenGL after switching to the syncqt tool
After switching qtbase to use the syncqt tool (in b89d63515bb352cecfd87e709320a2db5b6a1906), these OpenGL specific headers aren't available at all, when the build is configured to not use OpenGL. In one case, add a missing check for QT_NO_OPENGL, and in another case, include the necessary <QtGui/qtgui-config.h> header to make the potential QT_NO_OPENGL define available, to make a preexisting ifdef actually do what it was meant to do. Change-Id: Ie12deff2eee8e3b59193175551fbb28b7480f1f8 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'src/gui/opengl/qopengl.cpp')
0 files changed, 0 insertions, 0 deletions