Set macOS Info.plist
This commit is contained in:
parent
bbc4fedd20
commit
446c9194bf
|
@ -0,0 +1,3 @@
|
|||
build
|
||||
|
||||
.DS_Store
|
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>${ASSETCATALOG_COMPILER_APPICON_NAME}</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>${QMAKE_FULL_VERSION}</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>${QMAKE_FULL_VERSION}</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.11</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
<key>NSSupportsAutomaticGraphicsSwitching</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
|
@ -83,7 +83,10 @@ win32 {
|
|||
}
|
||||
|
||||
mac {
|
||||
QMAKE_TARGET_BUNDLE_PREFIX = org.eu.encom.spectral
|
||||
VERSION = 0.0.$$system(git rev-list --count HEAD)
|
||||
ICON = assets/img/icon.icns
|
||||
QMAKE_INFO_PLIST = macOS/Info.plist
|
||||
}
|
||||
|
||||
HEADERS += \
|
||||
|
|
Loading…
Reference in New Issue