Fix mac info

This commit is contained in:
Alex Ritter 2024-05-03 14:48:17 +02:00
parent b12cd438cd
commit 200b8e3a24
2 changed files with 36 additions and 3 deletions

View file

@ -665,8 +665,6 @@ unix:!macx:CONFIG(asan) {
#-----------------------------------------------------------------------------------------------# #-----------------------------------------------------------------------------------------------#
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.15 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.15
macx:ICON = qt/OpenRGB.icns
#-------------------------------------------------------------------------------------------# #-------------------------------------------------------------------------------------------#
# Common MacOS definitions # # Common MacOS definitions #
#-------------------------------------------------------------------------------------------# #-------------------------------------------------------------------------------------------#
@ -703,7 +701,14 @@ macx {
-lmbedx509 \ -lmbedx509 \
-lmbedcrypto \ -lmbedcrypto \
-lmbedtls \ -lmbedtls \
-L$$MBEDTLS_PREFIX/lib \ -L$$MBEDTLS_PREFIX/lib
ICON = qt/OpenRGB.icns
info_plist.input = mac/Info.plist.in
info_plist.output = $$OUT_PWD/Info.plist
QMAKE_SUBSTITUTES += info_plist
QMAKE_INFO_PLIST = $$OUT_PWD/Info.plist
} }
#-------------------------------------------------------------------------------------------# #-------------------------------------------------------------------------------------------#

28
mac/Info.plist.in Normal file
View file

@ -0,0 +1,28 @@
<?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>CFBundleDisplayName</key>
<string>OpenRGB</string>
<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>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>${QMAKE_SHORT_VERSION}</string>
<key>CFBundleSignature</key>
<string>${QMAKE_PKGINFO_TYPEINFO}</string>
<key>CFBundleVersion</key>
<string>${QMAKE_FULL_VERSION}</string>
<key>NOTE</key>
<string>This file was generated by Qt/QMake.</string>
<key>NSHumanReadableCopyright</key>
<string>Distributed under GNU General Public License v2.0</string>
</dict>
</plist>