diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2020-10-09 21:58:15 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2020-10-13 19:08:55 +0200 |
commit | f8c05f3dee29c7ab1eb3eba82c917fe18333fc41 (patch) | |
tree | 4dc17ad736d670652c8f6f9437afd9a71f4cdada /bitmask.pro | |
parent | 73d0c7a96df2212d5a3ee6289fc286f3e6459028 (diff) |
[pkg] add vendor icon to app
Diffstat (limited to 'bitmask.pro')
-rw-r--r-- | bitmask.pro | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/bitmask.pro b/bitmask.pro index 795a3d5..c22ee8c 100644 --- a/bitmask.pro +++ b/bitmask.pro @@ -6,13 +6,19 @@ unix:DEBUG:CONFIG += debug lessThan(QT_MAJOR_VERSION, 5): error("requires Qt 5") QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.11 +!defined(VENDOR_PATH, var):VENDOR_PATH="providers/riseup" + +RESOURCES += gui/gui.qrc +RESOURCES += $$VENDOR_PATH/vendor.qrc + +ICON = $$VENDOR_PATH/icon.png + macx { + ICON = $$VENDOR_PATH/assets/icon.icns LIBS += -framework Security - # TODO -- pass the vendor icon here from Makefile. - ICON = branding/assets/riseup/icon.icns } win32 { - RC_ICONS = branding/assets/riseup/icon.ico + RC_ICONS = $$VENDOR_PATH/assets/icon.ico } QT += qml quick widgets @@ -31,9 +37,6 @@ HEADERS += \ # we build from build/qt LIBS += -L../../lib -lgoshim -lpthread -RESOURCES += gui/gui.qrc -RESOURCES += providers/riseup/vendor.qrc - DESTDIR = release OBJECTS_DIR = release/.obj MOC_DIR = release/.moc |