-
Notifications
You must be signed in to change notification settings - Fork 0
/
skywriter.pro
121 lines (104 loc) · 3.98 KB
/
skywriter.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
QT += quick quickcontrols2 quick-private concurrent
CONFIG += c++20
versionAtLeast(QT_VERSION, 6.0.0) {
error(Migration to Qt 6 is still pending for when all relevant APIs are ready. The recommended version to build this project with is 5.14.2. See https://github.com/cengels/skywriter/issues/54 for details.)
}
versionAtLeast(QT_VERSION, 5.15.0) {
error(Qt version 5.15 is unsupported. See https://github.com/cengels/skywriter/issues/54 for details.)
}
#Application version
VERSION_MAJOR = 0
VERSION_MINOR = 0
VERSION_BUILD = 1
DEFINES += "VERSION_MAJOR=$$VERSION_MAJOR"\
"VERSION_MINOR=$$VERSION_MINOR"\
"VERSION_BUILD=$$VERSION_BUILD"
#Target version
VERSION = $${VERSION_MAJOR}.$${VERSION_MINOR}.$${VERSION_BUILD}
TARGET = skywriter
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Refer to the documentation for the
# deprecated API to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS \
QT_USE_QSTRINGBUILDER # redefines + into QStringBuilder's more efficient %
# You can also make your code fail to compile if it uses 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/ErrorManager.cpp \
src/Mouse.cpp \
src/QmlHelper.cpp \
src/Range.cpp \
src/numbers.cpp \
src/persistence.cpp \
src/profiling.cpp \
src/progress/ProgressItem.cpp \
src/text/DocumentSegment.cpp \
src/text/FormattableTextArea/actions.cpp \
src/text/FormattableTextArea/documentstructure.cpp \
src/text/FormattableTextArea/find.cpp \
src/text/MarkdownParser.cpp \
src/text/Replacement.cpp \
src/text/StringReplacer.cpp \
src/text/UserData.cpp \
src/text/selection.cpp \
src/text/symbols.cpp \
src/text/FormattableTextArea/FormattableTextArea.cpp \
src/text/FormattableTextArea/counter.cpp \
src/text/FormattableTextArea/keyevents.cpp \
src/text/FormattableTextArea/mouseevents.cpp \
src/text/FormattableTextArea/painting.cpp \
src/text/FormattableTextArea/props.cpp \
src/text/TextFormatter.cpp \
src/text/TextHighlighter.cpp \
src/text/TextIterator.cpp \
src/text/format.cpp \
src/progress/ProgressTracker.cpp \
src/theming/HeadingFormat.cpp \
src/theming/ThemeManager.cpp \
src/theming/Theme.cpp \
src/colors.cpp \
src/main.cpp \
libs/md4c/src/md4c.c
INCLUDEPATH += libs
RESOURCES += qml.qrc
TRANSLATIONS += \
resources/translations/skywriter-qt_en_US.ts
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH += $$PWD
# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
HEADERS += \
src/ErrorManager.h \
src/Mouse.h \
src/QmlHelper.h \
src/Range.h \
src/numbers.h \
src/persistence.h \
src/profiling.h \
src/progress/ProgressItem.h \
src/text/DocumentSegment.h \
src/text/FormattableTextArea/FormattableTextArea.h \
src/text/MarkdownParser.h \
src/text/Replacement.h \
src/text/StringReplacer.h \
src/text/TextFormatter.h \
src/text/TextHighlighter.h \
src/text/TextIterator.h \
src/text/UserData.h \
src/text/format.h \
src/progress/ProgressTracker.h \
src/text/selection.h \
src/text/symbols.h \
src/theming/HeadingFormat.h \
src/theming/ThemeManager.h \
src/theming/Theme.h \
src/colors.h \
libs/md4c/src/md4c.h \
src/theming/defaults.h