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:
commit
87832263c0
@ -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
BIN
app/sdrangel.apple.icns
Normal file
Binary file not shown.
@ -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
|
||||
|
||||
# ...
|
||||
|
Loading…
Reference in New Issue
Block a user