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:
15
samples/qt/Tutorial/custom.sh
Normal file → Executable file
15
samples/qt/Tutorial/custom.sh
Normal file → Executable 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=""
|
||||
|
Reference in New Issue
Block a user