summaryrefslogtreecommitdiff
path: root/src/multimediawidgets
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2012-12-21 11:45:50 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-11 15:15:05 +0100
commit4760e1fb02aac87e4186fb1bedf0ba4a3845d7be (patch)
tree1c739ae11bfc573a79f8e37fded759f04c963a13 /src/multimediawidgets
parent07efce437529c1d7e0d7dd15d201949b091b7b2a (diff)
downloadqtmultimedia-4760e1fb02aac87e4186fb1bedf0ba4a3845d7be.tar.gz
make use of qtHaveModule()
Change-Id: I14da5455b7dd4681254e1652395df5f5c65746bd Reviewed-by: Tasuku Suzuki <stasuku@gmail.com> Reviewed-by: Jonas Rabbe <jonas.rabbe@gmail.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/multimediawidgets')
-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 d0638dd21..65a18f775 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