I use CodeSourcery Toolchain and when I installed it, it added this line to my .bash_profile
: PATH="/home/dmitry/CodeSourcery/Sourcery_G++_Lite/bin:${PATH}"
.
But in QtCreator's PATH variable there was a little bit different value: /home/dmitry/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi
. In this directory there are files with short names like g++
etc. So I just added the path from .bash_profile
and now I am able to build the project.