1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 16:08:39 -05:00

Merge pull request #267 from sigysmund/osx

Application icon for Apple pkg and minor Info.plist generator updates.
This commit is contained in:
f4exb 2018-12-28 21:34:03 +01:00 committed by GitHub
commit 87832263c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
# ...