mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
sdk: fix compiler location for QT6_INSTALL_BINDIR != bindir
If QT6_INSTALL_BINDIR is set to a different value than bindir, the compiler cannot be found, since it is typically installed in bindir. So point to bindir by default instead. Pick-to: 6.2 Change-Id: I3bb94c2daf97f1b2500560fdcc4304cba9699ab5 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
This commit is contained in:
parent
d809311a65
commit
002b2ce29f
|
|
@ -69,7 +69,7 @@ create_qt6_sdk_files () {
|
|||
echo "isEmpty(QMAKE_LFLAGS): QMAKE_LFLAGS = ${LDFLAGS}" >> $mkspec
|
||||
sed -i $mkspec \
|
||||
-e 's:${RECIPE_SYSROOT}:$$[QT_SYSROOT]:' \
|
||||
-e 's:${TARGET_PREFIX}:$$[QT_HOST_BINS]/${TARGET_SYS}/${TARGET_PREFIX}:'
|
||||
-e 's:${TARGET_PREFIX}:$$[QT_HOST_PREFIX]${bindir}/${TARGET_SYS}/${TARGET_PREFIX}:'
|
||||
|
||||
# Generate a toolchain file for using Qt without running setup-environment script
|
||||
cat > ${SDK_OUTPUT}${SDKPATHNATIVE}/usr/share/cmake/Qt6Toolchain.cmake <<EOF
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user