mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-31 07:06:36 +00:00
qt: install QML imports on target
When selecting the Qt declarative module, all the QML imports was built and installed to staging, but never installed to the target. Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se> Acked-by: Alexander Lukichev <alexander.lukichev@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
affe885c3c
commit
1942836999
@ -498,6 +498,7 @@ define QT_CONFIGURE_CMDS
|
|||||||
-no-separate-debug-info \
|
-no-separate-debug-info \
|
||||||
-prefix /usr \
|
-prefix /usr \
|
||||||
-plugindir /usr/lib/qt/plugins \
|
-plugindir /usr/lib/qt/plugins \
|
||||||
|
-importdir /usr/lib/qt/imports \
|
||||||
-hostprefix $(STAGING_DIR) \
|
-hostprefix $(STAGING_DIR) \
|
||||||
-fast \
|
-fast \
|
||||||
-no-rpath \
|
-no-rpath \
|
||||||
@ -610,6 +611,14 @@ define QT_INSTALL_TARGET_PLUGINS
|
|||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
# Import installation
|
||||||
|
define QT_INSTALL_TARGET_IMPORTS
|
||||||
|
if [ -d $(STAGING_DIR)/usr/lib/qt/imports/ ] ; then \
|
||||||
|
mkdir -p $(TARGET_DIR)/usr/lib/qt/imports ; \
|
||||||
|
cp -dpfr $(STAGING_DIR)/usr/lib/qt/imports/* $(TARGET_DIR)/usr/lib/qt/imports ; \
|
||||||
|
fi
|
||||||
|
endef
|
||||||
|
|
||||||
# Fonts installation
|
# Fonts installation
|
||||||
ifneq ($(QT_FONTS),)
|
ifneq ($(QT_FONTS),)
|
||||||
define QT_INSTALL_TARGET_FONTS
|
define QT_INSTALL_TARGET_FONTS
|
||||||
@ -628,6 +637,7 @@ endif
|
|||||||
define QT_INSTALL_TARGET_CMDS
|
define QT_INSTALL_TARGET_CMDS
|
||||||
$(QT_INSTALL_TARGET_LIBS)
|
$(QT_INSTALL_TARGET_LIBS)
|
||||||
$(QT_INSTALL_TARGET_PLUGINS)
|
$(QT_INSTALL_TARGET_PLUGINS)
|
||||||
|
$(QT_INSTALL_TARGET_IMPORTS)
|
||||||
$(QT_INSTALL_TARGET_FONTS)
|
$(QT_INSTALL_TARGET_FONTS)
|
||||||
$(QT_INSTALL_TARGET_FONTS_TTF)
|
$(QT_INSTALL_TARGET_FONTS_TTF)
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user