#!/bin/sh

QMAKE=`which qmake`

if [ -n ""$QMAKE -a -e ""$QMAKE ]; then 
	echo "$QMAKE found. OK."
else
	echo "qmake not found, or not executable."
	exit 1
fi

echo
echo -n "Generating Makefile... ";
qmake
echo "Done."
echo
echo "Now run 'make' to compile."
