Application icon for Apple pkg and minor Info.plist generator updates.

This commit is contained in:
ZigaS 2018-12-28 12:30:21 +01:00
parent b743943c70
commit a0115d6523
3 changed files with 15 additions and 3 deletions

View File

@ -26,3 +26,10 @@ LIBS += -L../logging/$${build_subdir} -llogging
CONFIG(ANDROID):CONFIG += mobility
CONFIG(ANDROID):MOBILITY =
macx {
QMAKE_TARGET_BUNDLE_PREFIX = org.f4exb
QMAKE_BUNDLE = SDRangel
TARGET = SDRangel
ICON = sdrangel.apple.icns
}

BIN
app/sdrangel.apple.icns Normal file

Binary file not shown.

View File

@ -1,7 +1,9 @@
#!/bin/bash
QT_VERSION="5.12.0"
QT_HOME="/Applications/Qt/${QT_VERSION}"
# Run from build directory after build
APP_PATH="app/sdrangel.app"
APP_PATH="app/SDRangel.app"
test -d "${APP_PATH}/Contents" || { echo "Please build first or chdir to proper folder!"; exit 1; }
APP_LIB="${APP_PATH}/Contents/Frameworks"
@ -46,9 +48,12 @@ cd ../../..
pwd
# Deploy DMG
/Applications/Qt/5.12.0/clang_64/bin/macdeployqt ./sdrangel.app \
"${QT_HOME}/clang_64/bin/macdeployqt" ./SDRangel.app \
-always-overwrite \
-dmg \
-libpath=sdrangel.app/Contents/Frameworks \
-libpath=SDRangel.app/Contents/Frameworks \
-verbose=1
# Publish DMG
# ...