mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-09-11 00:25:19 +02:00
populate_sdk_qt5.bbclass: Fix symlink location for QtCreator use
The QtCreator is quite broken regarding finding the mkspecs files; so to workaround it we must to add a symlink to it. The workaround was in place but in the wrong sysroot, it must to be in the /native/ one. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Jonathan Liu <net147@gmail.com>
This commit is contained in:
@@ -27,7 +27,7 @@ toolchain_create_sdk_env_script_append () {
|
||||
echo 'export QT_CONF_PATH=${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}/qt.conf' >> $script
|
||||
|
||||
# make a symbolic link to mkspecs for compatibility with QTCreator
|
||||
(cd ${SDK_OUTPUT}/${SDKTARGETSYSROOT}; \
|
||||
(cd ${SDK_OUTPUT}/${SDKPATHNATIVE}; \
|
||||
ln -sf ${SDKTARGETSYSROOT}${libdir}/${QT_DIR_NAME}/mkspecs mkspecs;)
|
||||
|
||||
# Generate a qt.conf file to be deployed with the SDK
|
||||
|
||||
Reference in New Issue
Block a user