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:
parent
0d20b53eb8
commit
e55d3ef36a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue