mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
qtbase: fix QLibraryInfo prefix with usrmerge
If Qt is configured to use 'relocatable' feature, QLibraryInfo will at runtime try to determine its prefix path. If distro is using usrmerge, Qt libraries are found from '/lib' before '/usr/lib' causing Qt to use wrong prefix '/' when Qt was configure with '/usr' prefix. With Yocto builds, we have no need for the relocatable feature, disable it to avoid issues in usrmerge distros. Pick-to: 6.6 6.5 Fixes: QTBUG-119140 Change-Id: Ied2ca04b5d46cff5d4bed1c456e95235156c58f0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
941adb0bd2
commit
5cfc35d4f0
|
|
@ -164,6 +164,7 @@ EXTRA_OECMAKE += "\
|
|||
|
||||
EXTRA_OECMAKE:append:class-target = "\
|
||||
-DFEATURE_rpath=OFF \
|
||||
-DFEATURE_relocatable=OFF \
|
||||
-DQT_QPA_DEFAULT_PLATFORM=${QT_QPA_DEFAULT_PLATFORM} \
|
||||
"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user