Skip to content

Commit

Permalink
Merge branch '286-app_image'
Browse files Browse the repository at this point in the history
Allow prefixed QMake install for #286
  • Loading branch information
szszszsz committed Mar 21, 2018
2 parents 12e4603 + d0dd16e commit fe9e651
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions nitrokey-app-qt5.pro
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
# message("CONFIG: $${CONFIG}")

CONFIG += qt c++14 debug
QT += core gui widgets
include(libnitrokey/libnitrokey.pro)

CONFIG += qt c++14
QT += core gui widgets

target.path = /usr/local/bin
desktop.path = /usr/share/applications
desktop.files += nitrokey-app.desktop
isEmpty(PREFIX) {
PREFIX = /usr/local
}

INSTALLS += target desktop
target.path = $$PREFIX/bin
desktop.path = $$PREFIX/share/applications
desktop.files = data/nitrokey-app.desktop
icons.files = data/icons/*
icons.path = $$PREFIX/share/icons/
INSTALLS = target desktop icons

sources.files = qss

include(libnitrokey/libnitrokey.pro)

TARGET = nitrokey-app
TEMPLATE = app
Expand Down Expand Up @@ -128,3 +133,4 @@ TRANSLATIONS += i18n/nitrokey_de_DE.ts \
i18n/nitrokey_arabic.ts \
i18n/nitrokey_en.ts \
i18n/nitrokey_fr.ts

0 comments on commit fe9e651

Please sign in to comment.