mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
ptests: Install external resource files
Install .rcc files to support testing of loading resources at runtime. Task-number: QTBUG-118680 Change-Id: I9963c2cdc5c51165b7656e01237f09e499a838fc Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
This commit is contained in:
parent
6391fcbd0d
commit
df5ae777a4
|
|
@ -41,9 +41,11 @@ EOF
|
|||
do
|
||||
if [ -e "${B_PTEST}/tests/$tests" ]; then
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
find ${B_PTEST}/tests/$tests \
|
||||
\( -executable \! -type d -o -name qmldir \) \
|
||||
-exec sh -c '\
|
||||
find ${B_PTEST}/tests/$tests ! -type d -a \( \
|
||||
-executable -o \
|
||||
-name qmldir -o \
|
||||
-name *.rcc \
|
||||
\) -exec sh -c '\
|
||||
install -D "$1" "${D}${PTEST_PATH}${1#${B_PTEST}}" \
|
||||
' _ {} \;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user