summaryrefslogtreecommitdiffstats
path: root/examples/widgets/painting/shared/shared.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/painting/shared/shared.pro')
-rw-r--r--examples/widgets/painting/shared/shared.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/painting/shared/shared.pro b/examples/widgets/painting/shared/shared.pro
index 42b474a946..2756bf75ca 100644
--- a/examples/widgets/painting/shared/shared.pro
+++ b/examples/widgets/painting/shared/shared.pro
@@ -1,7 +1,7 @@
TEMPLATE = lib
CONFIG += static
-contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2) {
+qtHaveModule(opengl) {
DEFINES += QT_OPENGL_SUPPORT
QT += opengl
}