0023095: Porting demo and samples on OCCT 6.5.3
[occt.git] / samples / qt / IESample / custom.sh
diff --git a/samples/qt/IESample/custom.sh b/samples/qt/IESample/custom.sh
new file mode 100644 (file)
index 0000000..4506c96
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+#Define CASROOT and QTDIR variables in order to generate Makefile files by qmake
+
+export CASROOT=""
+
+export QTDIR=""
+
+if test "${CASROOT}" == ""; then
+   echo "Environment variable \"CASROOT\" not defined."
+   exit 1
+fi
+
+if test "${QTDIR}" == ""; then
+   echo "Environment variable \"QTDIR\" not defined."
+   exit 1
+fi
+
+export PATH=${QTDIR}/bin:${PATH}
\ No newline at end of file