summaryrefslogtreecommitdiffstats
path: root/examples/widgets/painting/gradients/gradients.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/painting/gradients/gradients.pro')
-rw-r--r--examples/widgets/painting/gradients/gradients.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/painting/gradients/gradients.pro b/examples/widgets/painting/gradients/gradients.pro
index a7d6ae68d1..73f3974c62 100644
--- a/examples/widgets/painting/gradients/gradients.pro
+++ b/examples/widgets/painting/gradients/gradients.pro
@@ -6,7 +6,7 @@ SHARED_FOLDER = ../shared
include($$SHARED_FOLDER/shared.pri)
RESOURCES += gradients.qrc
-contains(QT_CONFIG, opengl) {
+qtHaveModule(opengl) {
DEFINES += QT_OPENGL_SUPPORT
QT += opengl
}