[vlc-commits] qt: add js files to qmlcachegen preprocessor
Pierre Lamot
git at videolan.org
Tue Nov 19 16:49:52 CET 2019
vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Mon Nov 18 15:49:50 2019 +0100| [107d936fff83c5cf1b80cd965fea63badb8264db] | committer: Jean-Baptiste Kempf
qt: add js files to qmlcachegen preprocessor
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=107d936fff83c5cf1b80cd965fea63badb8264db
---
modules/gui/qt/Makefile.am | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/modules/gui/qt/Makefile.am b/modules/gui/qt/Makefile.am
index ecf276f65b..9abfa906b2 100644
--- a/modules/gui/qt/Makefile.am
+++ b/modules/gui/qt/Makefile.am
@@ -675,6 +675,12 @@ libqt_plugin_la_SOURCES += $(libqt_plugin_la_QML)
.qml.cpp:
$(AM_V_GEN)$(QMLCACHE) --resource=$(srcdir)/gui/qt/vlc.qrc -o $@ $<
+.js.cpp:
+ $(AM_V_GEN)$(QMLCACHE) --resource=$(srcdir)/gui/qt/vlc.qrc -o $@ $<
+
+.mjs.cpp:
+ $(AM_V_GEN)$(QMLCACHE) --resource=$(srcdir)/gui/qt/vlc.qrc -o $@ $<
+
qml_cache.qrc: gui/qt/vlc.qrc
$(AM_V_GEN)$(QMLCACHE) --filter-resource-file -o $@ $<
More information about the vlc-commits
mailing list