forked from IJHack/QtPass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqtpass.pro
96 lines (79 loc) · 2.32 KB
/
qtpass.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#-------------------------------------------------
#
# QtPass is a GUI for pass,
# the standard unix password manager.
#
# Project created by QtCreator 2014-07-30T21:56:15
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
macx {
TARGET = QtPass
} else {
TARGET = qtpass
}
TEMPLATE = app
VERSION = 1.0.1
SOURCES += main.cpp\
mainwindow.cpp \
dialog.cpp \
storemodel.cpp \
util.cpp \
usersdialog.cpp \
keygendialog.cpp \
progressindicator.cpp \
trayicon.cpp \
passworddialog.cpp
HEADERS += mainwindow.h \
dialog.h \
storemodel.h \
util.h \
usersdialog.h \
keygendialog.h \
progressindicator.h \
trayicon.h \
passworddialog.h
FORMS += mainwindow.ui \
dialog.ui \
usersdialog.ui \
keygendialog.ui \
passworddialog.ui
QMAKE_CXXFLAGS_WARN_ON += -Wno-unknown-pragmas
nosingleapp {
QMAKE_CXXFLAGS += -DSINGLE_APP=0
} else {
SOURCES += singleapplication.cpp
HEADERS += singleapplication.h
QT += network
QMAKE_CXXFLAGS += -DSINGLE_APP=1
}
TRANSLATIONS += localization/localization_nl_NL.ts \
localization/localization_de_DE.ts \
localization/localization_es_ES.ts \
localization/localization_gl_ES.ts \
localization/localization_hu_HU.ts \
localization/localization_sv_SE.ts \
localization/localization_pl_PL.ts \
localization/localization_ru_RU.ts \
localization/localization_he_IL.ts \
localization/localization_zh_CN.ts
CODECFORSRC = UTF-8
CODECFORTR = UTF-8
RESOURCES += resources.qrc
win32 {
RC_FILE = windows.rc
static {
QMAKE_LFLAGS += -static-libgcc -static-libstdc++
}
QMAKE_LFLAGS += -Wl,--dynamicbase -Wl,--nxcompat
LIBS += -lmpr
} else:macx {
ICON = artwork/icon.icns
QMAKE_INFO_PLIST = Info.plist
}
OTHER_FILES += LICENSE \
README.md
target.path = /usr/local/bin/
INSTALLS += target
DEFINES += "VERSION=\"\\\"$$VERSION\\\"\""