[Buildroot] [PATCH 2/3] qt: Install QtDeclarative imports
Ismael Luceno
ismael.luceno at gmail.com
Sun Feb 26 12:13:07 UTC 2012
---
package/qt/qt.mk | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index 68f9348..4871538 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -594,9 +594,12 @@ endif
# Plugin installation
define QT_INSTALL_TARGET_PLUGINS
+ mkdir -p $(TARGET_DIR)/usr/lib/qt
if [ -d $(STAGING_DIR)/usr/lib/qt/plugins/ ] ; then \
- mkdir -p $(TARGET_DIR)/usr/lib/qt/plugins ; \
- cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/* $(TARGET_DIR)/usr/lib/qt/plugins ; \
+ cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins $(TARGET_DIR)/usr/lib/qt ; \
+ fi
+ if [ -d $(@D)/imports ] ; then \
+ cp -dpfr $(@D)/imports $(TARGET_DIR)/usr/lib/qt ; \
fi
endef
--
1.7.9.1
More information about the buildroot
mailing list