-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQuickNote.pro
91 lines (77 loc) · 3.11 KB
/
QuickNote.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
#-------------------------------------------------
#
# Project created by QtCreator 2018-07-30T13:19:00
#
#-------------------------------------------------
QT += core gui sql widgets
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = QuickNote
TEMPLATE = app
win32:RC_ICONS += icons/QuickNote_icon.ico
ICON = icons/QuickNote_icon.icns
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
src/main.cpp \
src/mainwindow.cpp \
src/plaintextedit.cpp \
src/highlighter.cpp \
src/database.cpp \
src/encryption.cpp \
src/mdLite/tree.cpp \
src/mdLite/tokenizer.cpp \
src/config.cpp \
src/libs/helpers.cpp \
src/displayconfigdialog.cpp
HEADERS += \
src/headers/mainwindow.h \
src/headers/plaintextedit.h \
src/headers/highlighter.h \
src/headers/database.h \
src/headers/encryption.h \
src/mdLite/token.h \
src/mdLite/tree.h \
src/mdLite/tokenizer.h \
src/headers/config.h \
src/libs/include/helpers.h \
src/headers/displayconfigdialog.h
FORMS += \
src/mainwindow.ui \
src/displayconfigdialog.ui
macx {
QMAKE_CXXFLAGS += -std=c++11
_BOOST_PATH = /usr/local/Cellar/boost/1.75.0_2/
INCLUDEPATH += "$${_BOOST_PATH}/include/"
LIBS += -L$${_BOOST_PATH}/lib
LIBS += -lboost_system -lboost_filesystem -lboost_regex
LIBS += -framework AppKit -framework Foundation
OBJECTIVE_SOURCES = src/macosuihandler.mm
HEADERS += \
src/headers/macosuihandler.h
BUNDLE = $$OUT_PWD/$$TARGET$$quote(.app)/Contents
QMAKE_POST_LINK += ditto \"$$PWD/html/header.html\" \"$$BUNDLE/Resources/\";
QMAKE_POST_LINK += ditto \"$$PWD/html/footer.html\" \"$$BUNDLE/Resources/\";
QMAKE_POST_LINK += ditto \"$$PWD/help.md\" \"$$BUNDLE/Resources/\";
INCLUDEPATH += "/Users/dhamith93/dev/dep/cryptopp840/"
LIBS += "/Users/dhamith93/dev/dep/cryptopp840/libcryptopp.a"
}
win32 {
INCLUDEPATH += D:\windows\boost_1_67_0
LIBS += -LD:\windows\boost_1_67_0\stage\lib \
-llibboost_regex-mgw53-mt-d-x32-1_67 \
-llibboost_filesystem-mgw53-mt-d-x32-1_67 \
-llibboost_system-mgw53-mt-d-x32-1_67
BUNDLE = $$OUT_PWD/
QMAKE_POST_LINK += ditto \"$$PWD/html/header.html\" \"$$BUNDLE/html/\";
QMAKE_POST_LINK += ditto \"$$PWD/html/footer.html\" \"$$BUNDLE/html/\";
QMAKE_POST_LINK += ditto \"$$PWD/help.md\" \"$$BUNDLE/\";
INCLUDEPATH += C:/dev/cryptopp700/
LIBS += -LC:/dev/cryptopp700/release/ -llibcryptopp
}