Skip to content

Commit

Permalink
Script updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
kmkolasinski committed Aug 11, 2016
1 parent 517e1ce commit 38e4fb4
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions unixBuildScript.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash

# Add your QT path here by setting MY_QT_PATH variable
# MY_QT_PATH=/YOUR_PATH_HERE/Qt/5.X/gcc_64/bin/
MY_QT_PATH=

tool="gcc_64"
exe=""

Expand All @@ -8,12 +12,15 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
exe=".app"
fi

# Add your QT path here
MY_QT_PATH=/home/mkk/Programs/Qt/5.4/gcc_64/bin/
export PATH=$MY_QT_PATH:$PATH

if [ ! -e "$MY_QT_PATH" ]; then
echo "Qt not found at $MY_QT_PATH"
echo " ---------------------------------"
echo " Error: Wrong Qt path."
echo " ---------------------------------"
echo " Qt not found at '$MY_QT_PATH'."
echo " Please set the MY_QT_PATH variable in the ./unixBuildScript.sh"
echo ""
exit 1
fi

Expand Down

0 comments on commit 38e4fb4

Please sign in to comment.