summaryrefslogtreecommitdiffstats
path: root/src/multimediawidgets/multimediawidgets.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/multimediawidgets/multimediawidgets.pro')
-rw-r--r--src/multimediawidgets/multimediawidgets.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multimediawidgets/multimediawidgets.pro b/src/multimediawidgets/multimediawidgets.pro
index d0638dd2..65a18f77 100644
--- a/src/multimediawidgets/multimediawidgets.pro
+++ b/src/multimediawidgets/multimediawidgets.pro
@@ -1,7 +1,7 @@
# distinct from QtMultimedia
TARGET = QtMultimediaWidgets
QT = core gui multimedia-private widgets-private
-contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles2) {
+qtHaveModule(opengl):!contains(QT_CONFIG, opengles1) {
QT_PRIVATE += opengl
} else {
DEFINES += QT_NO_OPENGL