mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
Remove TMPDIR references from qmake files
Qmake files still have references to build time paths that cannot be mapped to any real runtime path. Task-number: QTBUG-105913 Pick-to: 6.8 Change-Id: I047a21204e2154cbf36c8417ae0e2e63be45564f Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
This commit is contained in:
parent
bb96abfc03
commit
259ef13336
|
|
@ -39,10 +39,12 @@ EXTRA_OECMAKE += "\
|
|||
|
||||
do_install:append() {
|
||||
# Replace host paths with qmake built-in properties QTBUG-84725
|
||||
# remove all references to TMPDIR that could not be replaced QTBUG-105877
|
||||
find ${D} \( -name "*.pri" -or -name "*.prl" \) -exec \
|
||||
sed -i -e 's|${STAGING_DIR_NATIVE}|$$[QT_HOST_PREFIX/get]|g' \
|
||||
-e 's|${STAGING_DIR_HOST}|$$[QT_SYSROOT]|g' \
|
||||
-e '/QMAKE_PRL_BUILD_DIR/d' {} \;
|
||||
-e '/QMAKE_PRL_BUILD_DIR/d' \
|
||||
-e '\|${WORKDIR}|d' {} \;
|
||||
}
|
||||
|
||||
export QT_DISABLE_SHADER_DISK_CACHE = "1"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user