5 CONFIG += qt warn_on x86_64
7 QMAKE_MAC_SDK = macosx10.10
16 # include(tmp/modeltest/modeltest.pri)
20 unix:!macx:isEmpty(NO_DBUS) {
21 message("Compiling with DBUS")
24 HEADERS += src/adaptormodel.h src/adaptorvym.h
25 SOURCES += src/adaptormodel.cpp src/adaptorvym.cpp
29 message("Compiling with win32")
30 HEADERS += src/mkdtemp.h
31 SOURCES += src/mkdtemp.cpp
33 # Manifest embedding was suggested by Qt docs somewhere...
34 win32: CONFIG += embed_manifest_exe
36 # Without this, M_PI, and M_PI_2 won`t be defined.
37 win32:DEFINES *= _USE_MATH_DEFINES
39 QT_QPA_PLATFORM_PLUGIN_PATH=%QTDIR%\plugins\platforms\
42 QMAK_MAC_SDK = macosx10.10
43 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.10
46 TRANSLATIONS += lang/vym.de.ts
47 TRANSLATIONS += lang/vym.el.ts
48 TRANSLATIONS += lang/vym.en.ts
49 TRANSLATIONS += lang/vym.es.ts
50 TRANSLATIONS += lang/vym.fr.ts
51 TRANSLATIONS += lang/vym.hr_HR.ts
52 TRANSLATIONS += lang/vym.ia.ts
53 TRANSLATIONS += lang/vym.it.ts
54 TRANSLATIONS += lang/vym.ja.ts
55 TRANSLATIONS += lang/vym.pt_BR.ts
56 TRANSLATIONS += lang/vym.ru.ts
57 TRANSLATIONS += lang/vym.sv.ts
58 TRANSLATIONS += lang/vym.zh_CN.ts
59 TRANSLATIONS += lang/vym.zh_TW.ts
60 TRANSLATIONS += lang/vym.cs_CZ.ts
71 # src/attributedelegate.h\
72 # src/attributedialog.h \
73 # src/attributewidget.h \
76 src/branchpropeditor.h\
79 src/confluence-agent.h \
80 src/confluence-user.h \
81 src/confluence-userdialog.h \
84 src/download-agent.h \
85 src/editxlinkdialog.h \
86 src/exportoofiledialog.h \
87 src/export-html-dialog.h\
88 src/export-confluence-dialog.h\
93 src/export-confluence.h \
94 src/export-firefox.h \
96 src/export-impress.h \
98 src/export-markdown.h \
99 src/export-orgmode.h \
100 src/export-taskjuggler.h \
101 src/extrainfodialog.h \
104 src/findresultwidget.h \
105 src/findresultitem.h \
106 src/findresultmodel.h \
111 src/flagrowmaster.h \
112 src/floatimageobj.h \
117 src/headingeditor.h \
120 src/historywindow.h \
125 src/lineeditdialog.h \
126 src/linkablemapobj.h \
127 src/lockedfiledialog.h \
134 src/mysortfilterproxymodel.h \
137 src/ornamentedobj.h \
143 src/showtextdialog.h\
144 src/slidecontrolwidget.h\
150 src/taskfiltermodel.h \
160 src/vymmodelwrapper.h \
166 src/warningdialog.h \
175 src/zip-settings-dialog.h
178 src/aboutdialog.cpp \
182 src/attributeitem.cpp \
183 # src/attributedelegate.cpp \
184 # src/attributedialog.cpp \
185 # src/attributewidget.cpp \
188 src/branchpropeditor.cpp \
191 src/confluence-agent.cpp \
192 src/confluence-user.cpp \
193 src/credentials.cpp \
195 src/download-agent.cpp \
196 src/editxlinkdialog.cpp \
197 src/export-html-dialog.cpp \
198 src/export-confluence-dialog.cpp \
199 src/exportoofiledialog.cpp \
201 src/export-ascii.cpp \
202 src/export-base.cpp \
203 src/export-confluence.cpp \
205 src/export-firefox.cpp \
206 src/export-html.cpp \
207 src/export-impress.cpp \
208 src/export-latex.cpp \
209 src/export-markdown.cpp \
210 src/export-orgmode.cpp \
211 src/export-taskjuggler.cpp \
212 src/extrainfodialog.cpp \
215 src/findresultwidget.cpp \
216 src/findresultitem.cpp \
217 src/findresultmodel.cpp \
221 src/flagrowmaster.cpp \
223 src/floatimageobj.cpp \
228 src/headingeditor.cpp \
230 src/highlighter.cpp \
231 src/historywindow.cpp \
236 src/lineeditdialog.cpp \
237 src/linkablemapobj.cpp \
238 src/lockedfiledialog.cpp \
246 src/mysortfilterproxymodel.cpp \
249 src/ornamentedobj.cpp \
250 src/scripteditor.cpp \
252 src/scriptoutput.cpp \
255 src/showtextdialog.cpp \
256 src/slidecontrolwidget.cpp \
257 src/slideeditor.cpp \
262 src/taskfiltermodel.cpp \
265 src/treedelegate.cpp \
269 src/confluence-userdialog.cpp \
273 src/vymmodelwrapper.cpp \
278 src/warningdialog.cpp \
285 src/xml-freemind.cpp \
288 src/zip-settings-dialog.cpp
291 forms/attributewidget.ui \
292 forms/branchpropeditor.ui \
293 forms/credentials.ui \
294 forms/export-html-dialog.ui \
295 forms/export-confluence-dialog.ui \
296 forms/extrainfodialog.ui \
297 forms/editxlinkdialog.ui \
298 forms/historywindow.ui \
299 forms/lineeditdialog.ui \
300 forms/lockedfiledialog.ui \
301 forms/scripteditor.ui \
302 forms/showtextdialog.ui \
303 forms/confluence-userdialog.ui \
304 forms/warningdialog.ui \
305 forms/zip-settings-dialog.ui
309 count( INSTALLDIR, 1 ) {
310 PREFIX = $${INSTALLDIR}
317 DATADIR = $${PREFIX}/vym
320 target.path = $${BINDIR}
323 DEFINES += "VYMBASEDIR='\"$${DATADIR}\"'"
325 message( "PREFIX Dir: $$PREFIX" )
326 message( "DATADIR: $$DATADIR" )
327 message( "DEFINES: $$DEFINES" )
329 language.files = lang/*.qm
330 language.path = $${DATADIR}/lang
333 support.files = demos \
341 support.path = $${DATADIR}
344 # doc.files = doc/vym.pdf
345 # doc.files += LICENSE.txt
346 # doc.path = $${DOCDIR}
348 # DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"