aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/shapes/qquickshape_p_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/shapes/qquickshape_p_p.h')
-rw-r--r--src/imports/shapes/qquickshape_p_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/shapes/qquickshape_p_p.h b/src/imports/shapes/qquickshape_p_p.h
index a8a5675ccb..888488efcd 100644
--- a/src/imports/shapes/qquickshape_p_p.h
+++ b/src/imports/shapes/qquickshape_p_p.h
@@ -234,7 +234,7 @@ private:
QV4::PersistentValue m_v4value;
};
-#ifndef QT_NO_OPENGL
+#if QT_CONFIG(opengl)
class QQuickShapeGradientCache : public QOpenGLSharedResource
{
@@ -274,7 +274,7 @@ inline uint qHash(const QQuickShapeGradientCache::GradientDesc &v, uint seed = 0
return h;
}
-#endif // QT_NO_OPENGL
+#endif // QT_CONFIG(opengl)
QT_END_NAMESPACE