diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2016-12-13 02:35:16 +0100 |
---|---|---|
committer | Anne Jan Brouwer <brouwer@annejan.com> | 2016-12-13 02:35:16 +0100 |
commit | dab5890f0faeac70eaef404394f51cffc30afc78 (patch) | |
tree | 1d84d4666e5a3477e337e3a2c32555b486d8f7f3 /qtpass.pro | |
parent | 3ebd54e2b30ebeba69929c22a88655eb72bf64b0 (diff) |
LOL wut, also how do I link ..
Diffstat (limited to 'qtpass.pro')
-rw-r--r-- | qtpass.pro | 79 |
1 files changed, 5 insertions, 74 deletions
@@ -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 + |