# Path to Qt binaries (sysroot-cross)
#export PATH=/home/arpadb/build/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD11.1.1/platform-phyCORE-i.MX27/sysroot-cross/bin:$PATH
# Path to toolchain
#export PATH=$PATH:/opt/OSELAS.Toolchain-2011.02.0/arm-v5te-linux-gnueabi/gcc-4.5.2-glibc-2.13-binutils-2.21-kernel-2.6.36-sanitized/bin
# Path to qmake spec
#export QMAKESPEC=/home/arpadb/build/OSELAS.BSP-Phytec-phyCORE-i.MX27-PD11.1.1/platform-phyCORE-i.MX27/build-target/qt-everywhere-opensource-src-4.6.3/mkspecs/qws/linux-ptx-g++

PROJECT=hello

if qmake -project -o $PROJECT.pro
then
  if qmake
  then
    if make clean
    then
      if make
      then
        echo OK
        exit
      fi
    fi
  fi
fi

echo FAILED

