Commit e7c424f1 authored by Peter Zhigalov's avatar Peter Zhigalov

Добавил иконку и plist для OS X в проект с Qt

parent 69f08a6f
......@@ -43,6 +43,12 @@ win32 {
RC_FILE += src_qt/resources.rc
}
macx {
QMAKE_INFO_PLIST = resources/Info.plist
ICON = resources/fem_draw.icns
TARGET = "FEM Draw"
}
*g++*|*clang* {
QMAKE_CXXFLAGS_WARN_ON *= -Wextra
QMAKE_CXXFLAGS_RELEASE -= -O2
......
<?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>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>FEM Draw</string>
<key>CFBundleExecutable</key>
<string>FEM Draw</string>
<key>CFBundleIconFile</key>
<string>fem_draw.icns</string>
<key>CFBundleIdentifier</key>
<string>ru.codefreak.fami.fem_draw</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>FEM Draw</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.7.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilites</string>
</dict>
</plist>
#!/bin/bash
iconutil -c icns fem_draw.iconset
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment