summaryrefslogtreecommitdiffstats
path: root/examples/widgets/painting/affine/affine.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/painting/affine/affine.pro')
-rw-r--r--examples/widgets/painting/affine/affine.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/painting/affine/affine.pro b/examples/widgets/painting/affine/affine.pro
index e94f4d12fb..1f2f8df87f 100644
--- a/examples/widgets/painting/affine/affine.pro
+++ b/examples/widgets/painting/affine/affine.pro
@@ -1,7 +1,7 @@
SOURCES += main.cpp xform.cpp
HEADERS += xform.h
-contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2) {
+qtHaveModule(opengl) {
DEFINES += QT_OPENGL_SUPPORT
QT += opengl
}