meson: Build Qt5 tests with -std=c++11

We already do this for the plugin.

https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/780#note_548179

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/642>
This commit is contained in:
Nirbheek Chauhan 2020-06-24 21:15:47 +05:30 committed by GStreamer Merge Bot
parent 13331e051f
commit 0fcd87e42a
4 changed files with 4 additions and 0 deletions

View file

@ -5,6 +5,7 @@ sources = [
qt_preprocessed = qt5_mod.preprocess(qresources : 'qmloverlay.qrc')
executable('qmlgloverlay', sources, qt_preprocessed,
dependencies : [gst_dep, qt5qml_example_deps],
override_options : ['cpp_std=c++11'],
c_args : gst_plugins_good_args,
include_directories : [configinc],
install: false)

View file

@ -5,6 +5,7 @@ sources = [
qt_preprocessed = qt5_mod.preprocess(qresources : 'qmlsink-dyn-added.qrc')
executable('qmlsink-dynamically-added', sources, qt_preprocessed,
dependencies : [gst_dep, gstgl_dep, qt5qml_example_deps],
override_options : ['cpp_std=c++11'],
c_args : gst_plugins_good_args,
include_directories : [configinc],
install: false)

View file

@ -5,6 +5,7 @@ sources = [
qt_preprocessed = qt5_mod.preprocess(qresources : 'qmlsink.qrc')
executable('qmlsink', sources, qt_preprocessed,
dependencies : [gst_dep, qt5qml_example_deps],
override_options : ['cpp_std=c++11'],
c_args : gst_plugins_good_args,
include_directories : [configinc],
install: false)

View file

@ -5,6 +5,7 @@ sources = [
qt_preprocessed = qt5_mod.preprocess(qresources : 'qmlsrc.qrc')
executable('qmlsrc', sources, qt_preprocessed,
dependencies : [gst_dep, qt5qml_example_deps],
override_options : ['cpp_std=c++11'],
c_args : gst_plugins_good_args,
include_directories : [configinc],
install: false)