Skip to content

Commit

Permalink
Merge pull request #32 from pez4brian/master
Browse files Browse the repository at this point in the history
Fix build for systems that have an unsupported version of Qt 5 installed.
  • Loading branch information
ddennedy committed Jul 30, 2014
2 parents 8c6808a + ca40645 commit cf6956b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/build-shotcut.sh
Original file line number Diff line number Diff line change
Expand Up @@ -584,9 +584,6 @@ function set_globals {
elif [ "$TARGET_OS" = "Win32" ]; then
# DEFINES+=QT_STATIC is for QWebSockets
CONFIG[7]="$QMAKE -r -spec mingw CONFIG+=link_pkgconfig PKGCONFIG+=mlt++ LIBS+=-L${QTDIR}/lib SHOTCUT_VERSION=$(date '+%y.%m.%d') DEFINES+=QT_STATIC"
elif [ "$(which qmake-qt5)" != "" ]; then
CONFIG[7]="qmake-qt5 -r"
LD_LIBRARY_PATH_[7]="/usr/local/lib"
else
CONFIG[7]="$QTDIR/bin/qmake -r"
LD_LIBRARY_PATH_[7]="/usr/local/lib"
Expand All @@ -606,8 +603,6 @@ function set_globals {
CONFIG[9]="$QTDIR/bin/qmake -r -spec macx-g++ MLT_PREFIX=$FINAL_INSTALL_DIR"
elif [ "$TARGET_OS" = "Win32" ]; then
CONFIG[9]="$QMAKE -r -spec mingw LIBS+=-L${QTDIR}/lib INCLUDEPATH+=$FINAL_INSTALL_DIR/include"
elif [ "$(which qmake-qt5)" != "" ]; then
CONFIG[9]="qmake-qt5 -r"
else
CONFIG[9]="$QTDIR/bin/qmake -r"
fi
Expand Down

0 comments on commit cf6956b

Please sign in to comment.