qt5quick2: include *.js-files for QML plugins and include qmlrunner in test pkg
authorMirko Vogt <mirko-dev@nanl.de>
Mon, 11 Dec 2017 14:38:49 +0000 (15:38 +0100)
committerMirko Vogt <mirko-dev@nanl.de>
Mon, 11 Dec 2017 14:38:49 +0000 (15:38 +0100)
frameworks/qt5quick2/Makefile

index e49291a365ae9219f65a929e25025fefc61a2436..4f63d085d766ed4799a2c2f5ffb3b3ccb1b97238 100644 (file)
@@ -146,7 +146,7 @@ define Build/Install/QMLplugin
          $(1)/$(QT_INSTALL_QML)/$(2)
 
        $(CP) \
-         $(PKG_INSTALL_DIR)/$(QT_INSTALL_QML)/$(2)/{plugins.qmltypes,qmldir,$(3).{so,qml}*} \
+         $(PKG_INSTALL_DIR)/$(QT_INSTALL_QML)/$(2)/{plugins.qmltypes,qmldir,$(3).{so,qml,js}*} \
          $(1)/$(QT_INSTALL_QML)/$(2)/ \
          || true
 endef
@@ -192,6 +192,8 @@ endef
 
 define Package/qt5quick2-qml-test/install
        $(call Build/Install/QMLplugin,$(1),QtTest,*)
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(CP) $(PKG_INSTALL_DIR)/usr/bin/qmltestrunner $(1)/usr/bin/
 endef
 
 define Package/qt5quick2-qml-layouts/install