On Tue, Feb 25, 2014 at 12:20 AM, Jonathan Liu <net...@gmail.com> wrote: > On 25 February 2014 07:28, Otavio Salvador <ota...@ossystems.com.br> wrote: >> 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 <ota...@ossystems.com.br> >> --- >> classes/populate_sdk_qt5.bbclass | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/classes/populate_sdk_qt5.bbclass >> b/classes/populate_sdk_qt5.bbclass >> index 3b849e9..635dd6d 100644 >> --- a/classes/populate_sdk_qt5.bbclass >> +++ b/classes/populate_sdk_qt5.bbclass >> @@ -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 > > Acked-by: Jonathan Liu <net...@gmail.com> > > Tested and working. Qt Creator now finds the mkspec after applying this patch.
I applied this one as it fixes the error. Thanks for testing it. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel