examples: qmlsink: rename qrc file to avoid naming conflicts with older meson versions

Would get "Tried to create target "qt5-qmlsink_qrc", but a
target of that name already exists." with older meson versions.

Work around that by renaming the qrc file.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/633>
This commit is contained in:
Tim-Philipp Müller 2020-06-18 10:47:28 +01:00
parent c54aa053d1
commit 87d4374655
3 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ sources = [
'main.cpp',
]
qt_preprocessed = qt5_mod.preprocess(qresources : 'qmlsink.qrc')
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],
c_args : gst_plugins_good_args,

View file

@ -14,7 +14,7 @@ INCLUDEPATH += ../lib
SOURCES += main.cpp
RESOURCES += qmlsink.qrc
RESOURCES += qmlsink-dyn-added.qrc
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =