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.
(From meta-qt5 rev:
e55d3ef36a98574e7d4535bb03b56c9a05e6578a)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
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