-
Notifications
You must be signed in to change notification settings - Fork 0
/
qrecipewriter.pro
177 lines (160 loc) · 5.14 KB
/
qrecipewriter.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
#-------------------------------------------------
#
# Project created by QtCreator 2014-10-19T17:56:27
#
#-------------------------------------------------
QT += core gui network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = qrecipewriter
TEMPLATE = app
INCLUDEPATH += headers
INCLUDEPATH += src
INCLUDEPATH += ui
SOURCES += src/main.cpp\
src/qrecipewriter.cpp \
src/options.cpp \
src/categories.cpp \
src/listviewdelegate.cpp \
src/functions.cpp \
src/apropos.cpp \
src/tinyxml2.cpp \
src/mylineedit.cpp \
src/myplaintextedit.cpp \
src/spellcheckdialog.cpp \
src/spellchecker.cpp \
src/filedownloader.cpp \
src/insertvideo.cpp \
src/insertpicture.cpp \
src/qinputmultiline.cpp \
src/coupdecoeur.cpp \
src/opendistant.cpp \
src/searchupdates.cpp \
src/login.cpp \
src/httprequestworker.cpp \
src/sendwordpress.cpp \
src/sendpywebcooking.cpp \
src/filenotfoundexception.cpp \
src/globalexception.cpp \
src/units.cpp
HEADERS += headers/qrecipewriter.h \
headers/options.h \
headers/categories.h \
headers/listviewdelegate.h \
headers/functions.h \
headers/apropos.h \
headers/tinyxml2.h \
headers/mylineedit.h \
headers/myplaintextedit.h \
headers/spellcheckdialog.h \
headers/spellchecker.h \
headers/filedownloader.h \
headers/insertvideo.h \
headers/insertpicture.h \
headers/qinputmultiline.h \
headers/coupdecoeur.h \
headers/opendistant.h \
headers/searchupdates.h \
headers/login.h \
headers/httprequestworker.h \
headers/sendwordpress.h \
headers/sendpywebcooking.h \
headers/filenotfoundexception.h \
headers/globalexception.h \
headers/units.h
FORMS += ui/qrecipewriter.ui \
ui/options.ui \
ui/categories.ui \
ui/apropos.ui \
ui/spellcheckdialog.ui \
ui/insertvideo.ui \
ui/insertpicture.ui \
ui/qinputmultiline.ui \
ui/coupdecoeur.ui \
ui/opendistant.ui \
ui/login.ui \
ui/units.ui
RESOURCES += \
Ressources.qrc
CONFIG += wwwidgets
TRANSLATIONS+= i18n/qrecipewriter_en.ts
TRANSLATIONS+= i18n/qrecipewriter_fr.ts
unix {
INCLUDEPATH += /usr/include/hunspell
contains(QMAKE_HOST.arch, x86_64) {
exists("/usr/lib/x86_64-linux-gnu/libhunspell-1.3.a") {
LIBS += /usr/lib/x86_64-linux-gnu/libhunspell-1.3.a
}
!exists("/usr/lib/x86_64-linux-gnu/libhunspell-1.3.a") {
exists("/usr/lib64/libhunspell-1.3.so") {
LIBS += /usr/lib64/libhunspell-1.3.so
}
!exists("/usr/lib64/libhunspell-1.3.so") {
exists("/usr/lib/libhunspell-1.3.so") {
LIBS += /usr/lib/libhunspell-1.3.so
}
!exists("/usr/lib/libhunspell-1.3.so") {
LIBS += /usr/lib/libhunspell.so
!exists("/usr/lib/libhunspell.so") {
message("ERROR: libhunspell.so not found. Please edit qrecipewriter.pro file and set the correct location")
}
}
}
}
}
else {
exists("/usr/lib/i386-linux-gnu/libhunspell-1.3.a") {
LIBS += /usr/lib/i386-linux-gnu/libhunspell-1.3.a
}
!exists("/usr/lib/i386-linux-gnu/libhunspell-1.3.a") {
exists("/usr/lib32/libhunspell-1.3.so") {
LIBS += /usr/lib32/libhunspell-1.3.so
}
!exists("/usr/lib32/libhunspell-1.3.so") {
exists("/usr/lib/libhunspell-1.3.so") {
LIBS += /usr/lib/libhunspell-1.3.so
}
!exists("/usr/lib/libhunspell-1.3.so") {
LIBS += /usr/lib/libhunspell.so
!exists("/usr/lib/libhunspell.so") {
message("ERROR: libhunspell.so not found. Please edit qrecipewriter.pro file and set the correct location")
}
}
}
}
}
ICONS = icons/128x128 icons/48x48 icons/96x96
INSTICONS.path = /usr/share/icons/hicolor
INSTICONS.files = $$ICONS
INSTALLS += INSTICONS
DESK = applications/QRecipeWriter.desktop
INSTDESK.path = /usr/share/applications
INSTDESK.files = $$DESK
INSTALLS += INSTDESK
SHARE = LICENCE.txt modeleHtml wordpress
INSTSHARE.path = /usr/share/qrecipewriter
INSTSHARE.files = $$SHARE
INSTALLS += INSTSHARE
BIN = qrecipewriter
INSTBIN.path = /usr/bin
INSTBIN.files = $$BIN
INSTALLS += INSTBIN
}
win32 {
contains(QMAKE_HOST.arch, x86_64) {
INCLUDEPATH += C:/hunspellX64/include
!exists("C:/hunspellX64/lib/libhunspell-1.3.a") {
message("Error: hunspell lib not found: C:/hunspellX64/lib/libhunspell-1.3.a");
}
LIBS += C:/hunspellX64/lib/libhunspell-1.3.a
}
else {
INCLUDEPATH += C:/hunspellI686/include
!exists("C:/hunspellI686/lib/libhunspell-1.3.a") {
message("Error: hunspell lib not found: C:/hunspellI686/lib/libhunspell-1.3.a");
}
LIBS += C:/hunspellI686/lib/libhunspell-1.3.a
}
RC_FILE = myapp.rc
TARGET = QRecipeWriter
}
DISTFILES +=