Commit d47e412b authored by Lars Knoll's avatar Lars Knoll
Browse files

Adjust to qtConfig() changes in qtbase


Change-Id: I26d80ece18abf882338de5ce0258469ed103a0eb
Reviewed-by: default avatarYoann Lopes <yoann.lopes@qt.io>
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Showing with 12 additions and 17 deletions
......@@ -95,7 +95,7 @@ equals(GST_VERSION,"0.10") {
maemo6 {
PKGCONFIG_PRIVATE += qmsystem2
contains(QT_CONFIG, opengles2):qtHaveModule(widgets) {
qtConfig(opengles2):qtHaveModule(widgets) {
PRIVATE_HEADERS += qgstreamergltexturerenderer_p.h
SOURCES += qgstreamergltexturerenderer.cpp
QT += opengl
......@@ -113,7 +113,7 @@ equals(GST_VERSION,"0.10") {
}
mir: {
contains(QT_CONFIG, opengles2):qtHaveModule(widgets) {
qtConfig(opengles2):qtHaveModule(widgets) {
PRIVATE_HEADERS += qgstreamermirtexturerenderer_p.h
SOURCES += qgstreamermirtexturerenderer.cpp
QT += opengl quick
......
# distinct from Qt Multimedia
TARGET = QtMultimediaWidgets
QT = core gui multimedia-private widgets-private
qtHaveModule(opengl):!contains(QT_CONFIG, opengles1) {
qtHaveModule(opengl): \
QT_PRIVATE += opengl
} else {
DEFINES += QT_NO_OPENGL
}
PRIVATE_HEADERS += \
qvideowidget_p.h \
......@@ -25,7 +22,7 @@ SOURCES += \
qvideowidget.cpp
maemo6 {
contains(QT_CONFIG, opengles2) {
qtConfig(opengles2) {
PRIVATE_HEADERS += qeglimagetexturesurface_p.h
SOURCES += qeglimagetexturesurface.cpp
......
......@@ -40,7 +40,7 @@ OBJECTIVE_SOURCES += \
}
ios|tvos {
contains(QT_CONFIG, opengl.*) {
qtConfig(opengl) {
HEADERS += \
avfvideoframerenderer_ios.h \
avfvideorenderercontrol.h \
......@@ -55,7 +55,7 @@ ios|tvos {
} else {
LIBS += -framework AppKit
contains(QT_CONFIG, opengl.*) {
qtConfig(opengl) {
HEADERS += \
avfvideoframerenderer.h \
avfvideorenderercontrol.h \
......
TARGET = dsengine
win32:!qtHaveModule(opengl)|contains(QT_CONFIG,dynamicgl) {
win32:!qtHaveModule(opengl)|qtConfig(dynamicgl) {
LIBS_PRIVATE += -lgdi32 -luser32
}
......
......@@ -4,4 +4,4 @@ config_gpu_vivante {
SUBDIRS += imx6
}
contains(QT_CONFIG, egl):contains(QT_CONFIG, opengles2):!android: SUBDIRS += egl
qtConfig(egl):qtConfig(opengles2):!android: SUBDIRS += egl
......@@ -13,7 +13,7 @@ src_plugins.subdir = plugins
src_plugins.depends = multimedia
qtHaveModule(quick):contains(QT_CONFIG, opengl) {
qtHaveModule(quick):qtConfig(opengl) {
src_qtmultimediaquicktools.subdir = qtmultimediaquicktools
src_qtmultimediaquicktools.depends = multimedia
......
......@@ -7,7 +7,7 @@ SUBDIRS += \
# Tests depending on private interfaces should only be built if
# these interfaces are exported.
contains (QT_CONFIG, private_tests) {
qtConfig(private_tests) {
SUBDIRS += \
qgraphicsvideoitem \
qpaintervideosurface \
......
......@@ -2,11 +2,9 @@ CONFIG += testcase
TARGET = tst_qpaintervideosurface
QT += multimedia-private multimediawidgets-private testlib
qtHaveModule(opengl) {
qtHaveModule(opengl): \
QT += opengl
} else {
DEFINES += QT_NO_OPENGL
}
SOURCES += tst_qpaintervideosurface.cpp
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment