summaryrefslogtreecommitdiffstats
path: root/src/qtmultimediaquicktools/qtmultimediaquicktools.pro
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2019-09-04 12:37:12 +0200
committerAndy Shaw <andy.shaw@qt.io>2019-10-24 14:27:11 +0200
commita6ae689d636bfcb170333f27cddb0375aeea1dbf (patch)
tree3ef0bdffa25a28f64ae510c845232ae3ffaae7d4 /src/qtmultimediaquicktools/qtmultimediaquicktools.pro
parent327e2c7a84e11420376a6257aeebed035d430833 (diff)
Build without OpenGL support
There is support for rendering video without OpenGL on most platforms although some features are unavailable as a result, so we can make sure that what is available can be used. Change-Id: I63938e8e4e8063fcc2064d0f9d8d5f10e0fb06f9 Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
Diffstat (limited to 'src/qtmultimediaquicktools/qtmultimediaquicktools.pro')
-rw-r--r--src/qtmultimediaquicktools/qtmultimediaquicktools.pro23
1 files changed, 13 insertions, 10 deletions
diff --git a/src/qtmultimediaquicktools/qtmultimediaquicktools.pro b/src/qtmultimediaquicktools/qtmultimediaquicktools.pro
index bffdc6ec2..fd29ee5a4 100644
--- a/src/qtmultimediaquicktools/qtmultimediaquicktools.pro
+++ b/src/qtmultimediaquicktools/qtmultimediaquicktools.pro
@@ -16,20 +16,23 @@ PRIVATE_HEADERS += \
HEADERS += \
$$PRIVATE_HEADERS \
- qdeclarativevideooutput_render_p.h \
- qdeclarativevideooutput_window_p.h \
- qsgvideonode_yuv_p.h \
- qsgvideonode_rgb_p.h \
- qsgvideonode_texture_p.h
+ qdeclarativevideooutput_window_p.h
SOURCES += \
qsgvideonode_p.cpp \
qdeclarativevideooutput.cpp \
- qdeclarativevideooutput_render.cpp \
- qdeclarativevideooutput_window.cpp \
- qsgvideonode_yuv.cpp \
- qsgvideonode_rgb.cpp \
- qsgvideonode_texture.cpp
+ qdeclarativevideooutput_window.cpp
+
+qtConfig(opengl) {
+ SOURCES += qdeclarativevideooutput_render.cpp \
+ qsgvideonode_rgb.cpp \
+ qsgvideonode_yuv.cpp \
+ qsgvideonode_texture.cpp
+ HEADERS += qdeclarativevideooutput_render_p.h \
+ qsgvideonode_rgb_p.h \
+ qsgvideonode_yuv_p.h \
+ qsgvideonode_texture_p.h
+}
RESOURCES += \
qtmultimediaquicktools.qrc