aboutsummaryrefslogtreecommitdiff
path: root/package/qt5/qt5sensors
diff options
context:
space:
mode:
Diffstat (limited to 'package/qt5/qt5sensors')
-rw-r--r--package/qt5/qt5sensors/qt5sensors.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/qt5/qt5sensors/qt5sensors.mk b/package/qt5/qt5sensors/qt5sensors.mk
index 805abcccd1..2d5cf327a6 100644
--- a/package/qt5/qt5sensors/qt5sensors.mk
+++ b/package/qt5/qt5sensors/qt5sensors.mk
@@ -48,9 +48,16 @@ define QT5SENSORS_INSTALL_TARGET_QMLS
endef
endif
+ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
+define QT5SENSORS_INSTALL_TARGET_EXAMPLES
+ cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/sensors $(TARGET_DIR)/usr/lib/qt/examples/
+endef
+endif
+
define QT5SENSORS_INSTALL_TARGET_CMDS
$(QT5SENSORS_INSTALL_TARGET_LIBS)
$(QT5SENSORS_INSTALL_TARGET_QMLS)
+ $(QT5SENSORS_INSTALL_TARGET_EXAMPLES)
endef
$(eval $(generic-package))