]> rtime.felk.cvut.cz Git - omk.git/blob - tests/qt/runtest
QT: Added QT_PROJECT variable
[omk.git] / tests / qt / runtest
1 #!/bin/sh
2
3 . ../functions.sh
4
5 touch config.omk-default
6 QTDIR=/usr/share/qt4
7 export QTDIR
8 [ -d $QTDIR ] || canttest "Can't find QT4 instalation"
9
10 cp Makefile1.omk Makefile.omk
11 make || error "QT compilation"
12 [ -x _compiled/bin/qtapp ] || error "QT application was not compiled"
13
14 make clean || error "QT clean 1"
15
16 cp Makefile2.omk Makefile.omk
17 make || error "QT Compilation in subdir"
18 [ -x _compiled/bin/qtapp ] || error "QT application was not compiled"
19
20 make clean || error "QT clean 2"
21
22 cp Makefile3.omk Makefile.omk
23 make || error "QT_PROJECT test "
24 [ -x _compiled/bin/qtapp ] || error "QT application was not compiled"
25
26 make clean || error "QT clean 3"