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:
Otavio Salvador 2014-02-24 12:39:34 -03:00
parent 0d20b53eb8
commit e55d3ef36a
1 changed files with 1 additions and 1 deletions

View File

@ -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