1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0023448: Fix QT samples for Mac OS X

Fixed QT samples so they can be built on Mac OS X with qt-x11
This commit is contained in:
dbv
2012-09-27 15:58:32 +04:00
parent bd82d4b2e9
commit 90ac61454f
6 changed files with 60 additions and 40 deletions

15
samples/qt/Tutorial/custom.sh Normal file → Executable file
View File

@@ -1,19 +1,10 @@
#!/bin/sh
#Define CASROOT and QTDIR variables in order to generate Makefile files by qmake
#Define CASROOT and QTDIR variables in order to generate Makefile files by qmake.
#If you are using Mac OS X it is necessary to define WOKHOME as a path to your WOK installation directory.
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}
export WOKHOME=""