Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 32 lines (26 sloc) 675 Bytes
# This script requires the use of the macdeployqt tool that is found in Qt 4.5
if [ -d $ ] ; then
echo "$ already exists"
exit 1;
# build app with Qt libraries
make distclean --quiet
qmake -config release
make --quiet
$QTDIR/bin/macdeployqt $
# Create Bundle
mkdir $DIR
#cp $BACKGROUND $DIR/.Background.png
cp -rf $ $DIR/
hdiutil create -ov -srcfolder $DIR -format UDBZ -volname "$APP $VERSION" "$APP.dmg"
hdiutil internet-enable -yes "$APP.dmg"
rm -rf $DIR
DATE=`date +"%m-%d-%Y"`
mv $APP.dmg "$APP Snapshot ($DATE) Intel-qt4.5.dmg"
Jump to Line
Something went wrong with that request. Please try again.