mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0023095: Porting demo and samples on OCCT 6.5.3
Fix for paths in *.vcproj files in MFC sample Fixed scripts for QT samples on Linux platform
This commit is contained in:
19
samples/qt/Tutorial/custom.sh
Normal file
19
samples/qt/Tutorial/custom.sh
Normal file
@@ -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}
|
Reference in New Issue
Block a user