-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #819 from MediaArea/build
Update build scripts
- Loading branch information
Showing
20 changed files
with
619 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
cd qctools/Project/QtCreator | ||
if sw_vers >/dev/null 2>&1 ; then | ||
#Qt 5.2 can not well detect the platform version for 10.9 then FFmpeg static link fails | ||
MAJOR_MAC_VERSION=$(sw_vers -productVersion | awk -F '.' '{print $1 "." $2}') | ||
$BINQMAKE QMAKE_MAC_SDK=macosx$MAJOR_MAC_VERSION | ||
else | ||
$BINQMAKE | ||
fi | ||
rm -fr qctools/Project/QtCreator/build | ||
mkdir qctools/Project/QtCreator/build | ||
pushd qctools/Project/QtCreator/build >/dev/null 2>&1 | ||
$BINQMAKE .. DEFINES+=QT_AVPLAYER_MULTIMEDIA | ||
sed -i'' 's/-framework QtAVPlayer//g' qctools-gui/Makefile.* | ||
make | ||
cd ../../.. | ||
popd >/dev/null 2>&1 | ||
|
||
echo QCTools binary is in qctools/Project/QtCreator | ||
echo QCTools binary is in qctools/Project/QtCreator/build/qctools-gui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.