Commit e7c424f1bb1e4ff8854afcd6bf9047a3ca9f6201

Authored by Peter Zhigalov
1 parent 69f08a6f

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

fem_draw_qt.pro
... ... @@ -43,6 +43,12 @@ win32 {
43 43 RC_FILE += src_qt/resources.rc
44 44 }
45 45  
  46 +macx {
  47 + QMAKE_INFO_PLIST = resources/Info.plist
  48 + ICON = resources/fem_draw.icns
  49 + TARGET = "FEM Draw"
  50 +}
  51 +
46 52 *g++*|*clang* {
47 53 QMAKE_CXXFLAGS_WARN_ON *= -Wextra
48 54 QMAKE_CXXFLAGS_RELEASE -= -O2
... ...
resources/Info.plist 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3 +<plist version="1.0">
  4 +<dict>
  5 + <key>CFBundleDevelopmentRegion</key>
  6 + <string>English</string>
  7 + <key>CFBundleDisplayName</key>
  8 + <string>FEM Draw</string>
  9 + <key>CFBundleExecutable</key>
  10 + <string>FEM Draw</string>
  11 + <key>CFBundleIconFile</key>
  12 + <string>fem_draw.icns</string>
  13 + <key>CFBundleIdentifier</key>
  14 + <string>ru.codefreak.fami.fem_draw</string>
  15 + <key>CFBundleInfoDictionaryVersion</key>
  16 + <string>6.0</string>
  17 + <key>CFBundleName</key>
  18 + <string>FEM Draw</string>
  19 + <key>CFBundlePackageType</key>
  20 + <string>APPL</string>
  21 + <key>CFBundleShortVersionString</key>
  22 + <string>1.7.0</string>
  23 + <key>CFBundleSignature</key>
  24 + <string>????</string>
  25 + <key>NSPrincipalClass</key>
  26 + <string>NSApplication</string>
  27 + <key>LSApplicationCategoryType</key>
  28 + <string>public.app-category.utilites</string>
  29 +</dict>
  30 +</plist>
... ...
resources/fem_draw.icns 0 → 100644
No preview for this file type
resources/fem_draw.iconset/icon_128x128.png 0 → 100644

8.29 KB

resources/fem_draw.iconset/icon_128x128@2x.png 0 → 100644

18.7 KB

resources/fem_draw.iconset/icon_16x16.png 0 → 100644

620 Bytes

resources/fem_draw.iconset/icon_16x16@2x.png 0 → 100644

1.28 KB

resources/fem_draw.iconset/icon_256x256.png 0 → 100644

18.7 KB

resources/fem_draw.iconset/icon_256x256@2x.png 0 → 100644

41.9 KB

resources/fem_draw.iconset/icon_32x32.png 0 → 100644

1.28 KB

resources/fem_draw.iconset/icon_32x32@2x.png 0 → 100644

3.33 KB

resources/fem_draw.iconset/icon_512x512.png 0 → 100644

41.9 KB

resources/fem_draw.iconset/icon_512x512@2x.png 0 → 100644

86.3 KB

resources/fem_draw.iconset/icon_64x64.png 0 → 100644

3.33 KB

resources/fem_draw.iconset/icon_64x64@2x.png 0 → 100644

8.29 KB

resources/iconset2icns.sh 0 → 100755
  1 +#!/bin/bash
  2 +iconutil -c icns fem_draw.iconset
  3 +
... ...