updates for qt on osx

This commit is contained in:
Dagen Brock 2019-01-07 13:42:47 -06:00
parent ea97c362dd
commit 93134b242d
1 changed files with 6 additions and 2 deletions

View File

@ -1,12 +1,16 @@
SDIR=build-buckshot-Desktop_Qt_5_12_0_clang_64bit-Release/buckshot.app
DEXTRAS=buckshot-osx/
DDIR=buckshot-osx/buckshot.app
ADIR=assets
mkdir -p $DDIR
# make app bundle with qt frameworks using macdeployqt
~/Qt/5.7/clang_64/bin/macdeployqt build-buckshot-Desktop_Qt_5_7_0_clang_64bit-Release/buckshot.app
~/Qt/5.12.0/clang_64/bin/macdeployqt $SDIR
# copy to dmg staging dir
cp -R build-buckshot-Desktop_Qt_5_7_0_clang_64bit-Release/buckshot.app $DEXTRAS
cp -R $SDIR $DEXTRAS
mkdir -p $DDIR/Contents/MacOS
mkdir -p $DDIR/Contents/Resources