[vlc-devel] [PATCH 02/10] qt: add js files to qmlcachegen preprocessor

Pierre Lamot pierre at videolabs.io
Mon Nov 18 18:14:05 CET 2019


---
 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 $@ $<
 
-- 
2.17.1



More information about the vlc-devel mailing list