summaryrefslogtreecommitdiffstats
path: root/main/main.pro
diff options
context:
space:
mode:
authortezeb <tezeb+github@outoftheblue.pl>2017-10-24 00:18:09 +0200
committertezeb <tezeb+github@outoftheblue.pl>2017-10-24 00:18:09 +0200
commite8e8757b6bc2468d6bce581de4c5dfbdb1cfa46c (patch)
treeea43de103133484c1acc85ffe293a5bdcaeb10f7 /main/main.pro
parent7c7867770c6584996e9ff3c2618bb3288d6adc31 (diff)
separate into main/static library
Diffstat (limited to 'main/main.pro')
-rw-r--r--main/main.pro27
1 files changed, 27 insertions, 0 deletions
diff --git a/main/main.pro b/main/main.pro
new file mode 100644
index 00000000..8344b0b7
--- /dev/null
+++ b/main/main.pro
@@ -0,0 +1,27 @@
+!include(../qtpass.pri) { error("Couldn't find the qtpass.pri file!") }
+
+TEMPLATE = app
+QT += core gui
+
+CONFIG += c++11
+LIBS += -L../src/ -lqtpass
+INCLUDEPATH += ../src
+
+macx {
+ TARGET = QtPass
+} else {
+ TARGET = qtpass
+}
+
+SOURCES += main.cpp
+
+isEmpty(PREFIX) {
+ PREFIX = $$(PREFIX)
+}
+
+isEmpty(PREFIX) {
+ PREFIX = /usr/local
+}
+target.path = $$PREFIX/bin/
+
+INSTALLS += target