qtcreator dont work

die6o
Hi everyone

I have a big problem to configure qtcreator for tiny6410

---------------------------------------------------------------------------
1 step-> I get the x86-qte-4.6.1-20100201.tar.gz on CD1 extracts and
execute script buil-all


#/bin/bash

rm -fr /opt/qtsdk-2010.01* 
rm -fr qt-everywhere-opensource-src-4.6.1
rm -fr /usr/local/Trolltech/QtEmbedded-4.6.1-x86

./qt-sdk-linux-x86-opensource-2010.01.bin 
cd /opt/qtsdk-2010.01/qt/tools/qvfb/
/opt/qtsdk-2010.01/qt/bin/qmake "QT_SOURCE_TREE=/opt/qtsdk-2010.01/qt"
make
cd -


tar xfvz qt-everywhere-opensource-src-4.6.1.tar.gz
cd qt-everywhere-opensource-src-4.6.1
echo yes | ./configure -opensource -embedded x86 -xplatform
qws/linux-generic-g++  -qt-libtiff -qt-libmng -qvfb

make && make install

cd /usr/local/Trolltech/QtEmbedded-4.6.1-i386


---------------------------------------------------------------------------
2 step-> I get the arm-linux-gcc-4.5.1-v6-vfp-20101103.tgz on CD1 extracts
and added the toochain on PATH variable,
echo 'export PATH=$PATH:/path-on-toochain/bin' >> ~/.bashrc
the toolchain works very well!

---------------------------------------------------------------------------
3 step -> I get the arm-qte-4.7.0-20101105.tar.gz on CD1 extracts and
execute script buil-all

#/bin/bash

rm -fr qt-everywhere-opensource-src-4.7.0
rm -fr /usr/local/Trolltech/QtEmbedded-4.7.0-arm

tar xfvz qt-everywhere-opensource-src-4.7.0.tar.gz
cd qt-everywhere-opensource-src-4.7.0
echo yes | ./configure -opensource -embedded arm -xplatform
qws/linux-arm-g++  -no-webkit -qt-libtiff -qt-libmng  -qt-mouse-tslib
-qt-mouse-pc -no-mouse-linuxtp -no-neon

make && make install

cd /usr/local/Trolltech/QtEmbedded-4.7.0-arm

---------------------------------------------------------------------------
                            ERROR
---------------------------------------------------------------------------

when I add qmake on the menu tools-> options-> qtversions, I clik rebuild
the following error happens:
 

Building debugging helper library in
/home/diego/.local/share/data/Nokia/QtCreator/qtc-debugging-helper/120120557/

Running /usr/bin/make distclean...
rm -f gdbmacros.o
rm -f *~ core *.core
rm -f libgdbmacros.so.1.0.0 
rm -f libgdbmacros.so libgdbmacros.so.1 libgdbmacros.so.1.0 libgdbmacros.a
rm -f Makefile

Running /usr/local/Trolltech/QtEmbedded-4.7.0-arm/bin/qmake ...

Running /usr/bin/make ...
arm-linux-g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DUSE_QT_GUI=1
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/mkspecs/qws/linux-arm-g++ -I.
-I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtCore
-I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtGui
-I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include -I. -o gdbmacros.o
gdbmacros.cpp
make: arm-linux-g++: Command not found
make: *** [gdbmacros.o] Error 127

the picture

http://www.4shared.com/photo/qbb5jNfa/Screenshot-1.html
--------------------------------------------------------------------------
someone could help me with the configuration plz
I dont have more ideas of what to do

davef
arm-linux-g++ --version  maybe?

die6o
Dear davef,
I using the files on DVD received with the tiny6410 kit,
i just run script and add PATH.

root@diego# arm-linux-g++ -v

Using built-in specs.
COLLECT_GCC=arm-linux-g++
COLLECT_LTO_WRAPPER=/home/embedded/opt/FriendlyARM/toolschain/4.5.1/bin/../libex
ec/gcc/arm-none-linux-gnueabi/4.5.1/lto-wrapper
Target: arm-none-linux-gnueabi
Configured with: /work/toolchain/build/src/gcc-4.5.1/configure
--build=i686-build_pc-linux-gnu --host=i686-build_pc-linux-gnu
--target=arm-none-linux-gnueabi --prefix=/opt/FriendlyARM/toolschain/4.5.1
--with-sysroot=/opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi/sys-root

--enable-languages=c,c++ --disable-multilib --with-cpu=arm1176jzf-s
--with-tune=arm1176jzf-s --with-fpu=vfp --with-float=softfp
--with-pkgversion=ctng-1.8.1-FA --with-bugurl=http://www.arm9.net/
--disable-sjlj-exceptions --enable-__cxa_atexit --disable-libmudflap
--with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm'
--with-gmp=/work/toolchain/build/arm-none-linux-gnueabi/build/static
--with-mpfr=/work/toolchain/build/arm-none-linux-gnueabi/build/static
--with-ppl=/work/toolchain/build/arm-none-linux-gnueabi/build/static
--with-cloog=/work/toolchain/build/arm-none-linux-gnueabi/build/static
--with-mpc=/work/toolchain/build/arm-none-linux-gnueabi/build/static
--with-libelf=/work/toolchain/build/arm-none-linux-gnueabi/build/static
--enable-threads=posix
--with-local-prefix=/opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi/sys
-root
--disable-nls --enable-symvers=gnu --enable-c99 --enable-long-long
Thread model: posix
gcc version 4.5.1 (ctng-1.8.1-FA) 

if this is not the correct way to configure qt and toochain someone could
describe how the configuration is done?

davef
I could be wrong here, but doing export only lasts while you are in that
particular session.  

I would try try putting:

export PATH=$PATH:/path-on-toochain/bin

statement in your script.