Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
echo "#include <stdio.h>" >> qttest.cpp
echo "int main(int argc, char **argv) { fprintf( stderr, \"Found QT Version %s: \", QT_VERSION_STR );" >> qttest.cpp
echo "if (QT_VERSION >= 300) return 0; else return -1; }" >> qttest.cpp
gcc -I$QTDIR/include qttest.cpp
g++ -I$QTDIR/include qttest.cpp
if ./a.out
then
echo "OK"