I built yocto image with meta-qt5.Image has been built successfully.But When I select qmake from Tools->Options->Build&Run->Qt Version in Qt creator I receive the following error:
Could not read qmake configuration file /home/yusuf/yocto/poky/bananaProHf/tmp/sysroots/x86_64-linux/home/yusuf/yocto/poky/bananaProHf/tmp/sysroots/x86_64-linux/usr/lib/qt5/mkspecs/linux-oe-g++/qmake.conf.
It seems that Qt searches the "qmake configuration file" in a wrong directory level. The correct target directory for this search should have been: "/home/yusuf/yocto/poky/bananaProHf/tmp/sysroots/x86_64-linux/usr/lib/qt5/mkspecs/linux-oe-g++/qmake.conf." Somehow it seems QT duplicates the "yusuf/yocto/poky/bananaProHf/tmp/sysroots/x86_64-linux" part in the search address. Any ideas about this weird behaviour? Thanks in advance for the help.