summaryrefslogtreecommitdiffstats
path: root/src/plugins/gstreamer/common.pri
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/plugins/gstreamer/common.pri
parent07efce437529c1d7e0d7dd15d201949b091b7b2a (diff)
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/plugins/gstreamer/common.pri')
-rw-r--r--src/plugins/gstreamer/common.pri4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/gstreamer/common.pri b/src/plugins/gstreamer/common.pri
index c9a3fb66..91086576 100644
--- a/src/plugins/gstreamer/common.pri
+++ b/src/plugins/gstreamer/common.pri
@@ -2,7 +2,7 @@
QT += multimedia-private network
CONFIG += no_private_qt_headers_warning
-!isEmpty(QT.widgets.name) {
+qtHaveModule(widgets) {
QT += widgets multimediawidgets-private
DEFINES += HAVE_WIDGETS
}
@@ -26,7 +26,7 @@ config_resourcepolicy {
PKGCONFIG += libresourceqt1
}
-config_xvideo:!isEmpty(QT.widgets.name): {
+config_xvideo:qtHaveModule(widgets) {
DEFINES += HAVE_XVIDEO
LIBS += -lXv -lX11 -lXext
}