Add icons and custom Mac plist to Qt project.

This commit is contained in:
Adam Ierymenko 2013-11-21 15:55:47 -05:00
parent 4296db2358
commit 74af234305
5 changed files with 27 additions and 10 deletions

20
ZeroTierUI/Info.plist Normal file
View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>CFBundleIconFile</key>
<string>zt1icon.icns</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleGetInfoString</key>
<string>ZeroTier One (Mac GUI)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleExecutable</key>
<string>ZeroTier One</string>
<key>CFBundleIdentifier</key>
<string>com.zerotier.ZeroTierOne</string>
</dict>
</plist>

View File

@ -1,16 +1,12 @@
#-------------------------------------------------
#
# Project created by QtCreator 2013-11-13T15:03:09
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QT += core gui widgets
TARGET = "ZeroTier One"
TEMPLATE = app
win32:RC_FILE = ZeroTierUI.rc
mac:ICON = zt1icon.icns
mac:QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6
mac:QMAKE_INFO_PLIST = Info.plist
# ZeroTier One must be built before building this, since it links in the
# client code and some stuff from Utils to talk to the running service.
LIBS += ../node/*.o

1
ZeroTierUI/ZeroTierUI.rc Normal file
View File

@ -0,0 +1 @@
IDI_ICON1 ICON DISCARDABLE "zt1icon.ico"

BIN
ZeroTierUI/zt1icon.icns Normal file

Binary file not shown.

BIN
ZeroTierUI/zt1icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 KiB