summaryrefslogtreecommitdiffstats
path: root/qtpass.pro
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2016-12-13 02:35:16 +0100
committerAnne Jan Brouwer <brouwer@annejan.com>2016-12-13 02:35:16 +0100
commitdab5890f0faeac70eaef404394f51cffc30afc78 (patch)
tree1d84d4666e5a3477e337e3a2c32555b486d8f7f3 /qtpass.pro
parent3ebd54e2b30ebeba69929c22a88655eb72bf64b0 (diff)
LOL wut, also how do I link ..
Diffstat (limited to 'qtpass.pro')
-rw-r--r--qtpass.pro79
1 files changed, 5 insertions, 74 deletions
diff --git a/qtpass.pro b/qtpass.pro
index 0a3ec9db..e5aaa7e0 100644
--- a/qtpass.pro
+++ b/qtpass.pro
@@ -1,80 +1,11 @@
-VERSION = 1.2.0-pre
+TEMPLATE = subdirs
-TEMPLATE = app
-QT += core gui
+SUBDIRS += src
-CONFIG += c++11
-
-greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
-
-VPATH += ./src
-INCLUDEPATH += ./src
-
-macx {
- TARGET = QtPass
- QMAKE_MAC_SDK = macosx
- QT += svg
-} else {
- TARGET = qtpass
+CONFIG(debug, debug|release) {
+ SUBDIRS += tests
}
-SOURCES += main.cpp\
- mainwindow.cpp \
- configdialog.cpp \
- storemodel.cpp \
- util.cpp \
- usersdialog.cpp \
- keygendialog.cpp \
- trayicon.cpp \
- passworddialog.cpp \
- qprogressindicator.cpp \
- qpushbuttonwithclipboard.cpp \
- qtpasssettings.cpp \
- settingsconstants.cpp \
- pass.cpp \
- realpass.cpp \
- imitatepass.cpp \
- executor.cpp
-
-HEADERS += mainwindow.h \
- configdialog.h \
- storemodel.h \
- util.h \
- usersdialog.h \
- keygendialog.h \
- trayicon.h \
- passworddialog.h \
- qprogressindicator.h \
- deselectabletreeview.h \
- qpushbuttonwithclipboard.h \
- qtpasssettings.h \
- enums.h \
- settingsconstants.h \
- pass.h \
- realpass.h \
- imitatepass.h \
- datahelpers.h \
- debughelper.h \
- executor.h
-
-FORMS += mainwindow.ui \
- configdialog.ui \
- usersdialog.ui \
- keygendialog.ui \
- passworddialog.ui
-
-clang|gcc: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 \
@@ -180,7 +111,7 @@ target.path = $$PREFIX/bin/
INSTALLS += target
-DEFINES += "VERSION=\"\\\"$$VERSION\\\"\""
DISTFILES += \
settingsToDelete.txt
+