package/qt5/qt5wayland: install compositor QML files

Fixes using QtWayland.Compositor QML import.

Signed-off-by: David Rosca <nowrep@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
David Rosca 2019-05-14 09:18:29 +02:00 committed by Thomas Petazzoni
parent ecb65269b8
commit 4a7a85169f

View File

@ -52,6 +52,11 @@ define QT5WAYLAND_INSTALL_COMPOSITOR
cp -dpf $(STAGING_DIR)/usr/lib/libQt5Compositor.so* $(TARGET_DIR)/usr/lib cp -dpf $(STAGING_DIR)/usr/lib/libQt5Compositor.so* $(TARGET_DIR)/usr/lib
endef endef
endif endif
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
define QT5WAYLAND_INSTALL_COMPOSITOR_QMLS
cp -dpfr $(STAGING_DIR)/usr/qml/QtWayland $(TARGET_DIR)/usr/qml/
endef
endif
endif endif
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
@ -65,6 +70,7 @@ define QT5WAYLAND_INSTALL_TARGET_CMDS
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/wayland* $(TARGET_DIR)/usr/lib/qt/plugins cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/wayland* $(TARGET_DIR)/usr/lib/qt/plugins
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/platforms/libqwayland* $(TARGET_DIR)/usr/lib/qt/plugins/platforms cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/platforms/libqwayland* $(TARGET_DIR)/usr/lib/qt/plugins/platforms
$(QT5WAYLAND_INSTALL_COMPOSITOR) $(QT5WAYLAND_INSTALL_COMPOSITOR)
$(QT5WAYLAND_INSTALL_COMPOSITOR_QMLS)
$(QT5WAYLAND_INSTALL_TARGET_EXAMPLES) $(QT5WAYLAND_INSTALL_TARGET_EXAMPLES)
endef endef