author | insilmaril |
Mon, 08 Mar 2010 12:21:46 +0000 | |
changeset 827 | a591443f229c |
parent 825 | 1ad892c1a709 |
child 835 | 31841b366d5e |
permissions | -rw-r--r-- |
1 TEMPLATE = app
2 LANGUAGE = C++
4 CONFIG += qt warn_on debug
5 CONFIG += x86 ppc
6 CONFIG += qdbus
8 # Only needed with Qt < 4.6
9 include (/data/qtanimationframework-2.3-opensource/src/qtanimationframework.pri)
11 TRANSLATIONS += lang/vym_de.ts
12 TRANSLATIONS += lang/vym_en.ts
13 TRANSLATIONS += lang/vym_es.ts
14 TRANSLATIONS += lang/vym_it.ts
15 TRANSLATIONS += lang/vym_fr.ts
16 TRANSLATIONS += lang/vym_zh_CN.ts
17 TRANSLATIONS += lang/vym_pt_BR.ts
18 TRANSLATIONS += lang/vym_sv.ts
19 TRANSLATIONS += lang/vym_zh_TW.ts
21 # Manifest embedding was suggested by Qt docs somewhere...
22 win32: CONFIG += embed_manifest_exe
24 # Without this, M_PI, and M_PI_2 won`t be defined.
25 win32:DEFINES *= _USE_MATH_DEFINES
27 ICON =icons/vym.icns
29 QT += qt3support
30 QT += network
32 HEADERS += \
33 aboutdialog.h \
34 adaptormodel.h \
35 animpoint.h \
36 attribute.h \
37 attributeitem.h \
38 # attributedelegate.h\
39 # attributedialog.h \
40 # attributewidget.h \
41 branchitem.h \
42 branchobj.h \
43 branchpropwindow.h\
44 bugagent.h \
45 editxlinkdialog.h \
46 exportoofiledialog.h \
47 exporthtmldialog.h\
48 exporthtmldialog.h\
49 exportxhtmldialog.h\
50 exports.h \
51 extrainfodialog.h \
52 file.h \
53 findwidget.h \
54 findresultwidget.h \
55 findresultitem.h \
56 findresultmodel.h \
57 flag.h \
58 flagobj.h \
59 flagrowobj.h \
60 flagrow.h \
61 floatimageobj.h \
62 floatobj.h \
63 frameobj.h \
64 geometry.h \
65 headingobj.h \
66 highlighter.h \
67 historywindow.h \
68 imageitem.h \
69 imageobj.h \
70 imports.h \
71 linkablemapobj.h \
72 mainwindow.h \
73 mapeditor.h \
74 mapitem.h \
75 mapobj.h \
76 misc.h \
77 mysortfilterproxymodel.h \
78 noteobj.h \
79 options.h \
80 ornamentedobj.h \
81 parser.h \
82 process.h \
83 shortcuts.h\
84 showtextdialog.h\
85 simplescripteditor.h\
86 texteditor.h \
87 treeeditor.h \
88 version.h \
89 vymmodel.h \
90 xlinkitem.h \
91 xlinkobj.h \
92 xml-base.h \
93 xml-vym.h \
94 xml-freemind.h \
95 xmlobj.h\
96 xsltproc.h \
97 settings.h \
98 treeitem.h \
99 treemodel.h \
100 vymview.h \
101 warningdialog.h
103 SOURCES += \
104 aboutdialog.cpp \
105 adaptormodel.cpp \
106 animpoint.cpp \
107 attribute.cpp \
108 attributeitem.cpp \
109 # attributedelegate.cpp \
110 # attributedialog.cpp \
111 # attributewidget.cpp \
112 branchitem.cpp \
113 branchobj.cpp \
114 branchpropwindow.cpp \
115 bugagent.cpp \
116 editxlinkdialog.cpp \
117 exportoofiledialog.cpp \
118 exports.cpp \
119 exporthtmldialog.cpp \
120 exportxhtmldialog.cpp \
121 extrainfodialog.cpp \
122 file.cpp \
123 findwidget.cpp \
124 findresultwidget.cpp \
125 findresultitem.cpp \
126 findresultmodel.cpp \
127 flag.cpp \
128 flagobj.cpp \
129 flagrow.cpp \
130 flagrowobj.cpp \
131 floatimageobj.cpp \
132 floatobj.cpp \
133 frameobj.cpp \
134 geometry.cpp \
135 headingobj.cpp \
136 highlighter.cpp \
137 historywindow.cpp \
138 imageitem.cpp \
139 imageobj.cpp \
140 imports.cpp \
141 linkablemapobj.cpp \
142 main.cpp \
143 mainwindow.cpp \
144 mapeditor.cpp \
145 mapitem.cpp \
146 mapobj.cpp \
147 misc.cpp \
148 mysortfilterproxymodel.cpp \
149 noteobj.cpp \
150 options.cpp \
151 ornamentedobj.cpp \
152 parser.cpp \
153 process.cpp \
154 shortcuts.cpp\
155 showtextdialog.cpp \
156 simplescripteditor.cpp \
157 texteditor.cpp \
158 treeeditor.cpp \
159 treeitem.cpp \
160 treemodel.cpp \
161 version.cpp \
162 vymmodel.cpp \
163 xlinkitem.cpp \
164 xlinkobj.cpp \
165 xml-base.cpp \
166 xml-vym.cpp \
167 xml-freemind.cpp \
168 xmlobj.cpp \
169 xsltproc.cpp \
170 settings.cpp \
171 vymview.cpp \
172 warningdialog.cpp
174 FORMS = \
175 attributewidget.ui \
176 branchpropwindow.ui \
177 exporthtmldialog.ui \
178 exportxhtmldialog.ui \
179 extrainfodialog.ui \
180 editxlinkdialog.ui \
181 historywindow.ui \
182 simplescripteditor.ui \
183 showtextdialog.ui \
184 warningdialog.ui
186 win32 {
187 HEADERS += mkdtemp.h
188 SOURCES += mkdtemp.cpp
189 RC_FILE = vym.rc
190 }
192 #The following lines were inserted by qt3to4
193 QT += xml
195 TARGET = vym
198 isEmpty( PREFIX ) {
199 PREFIX = /usr/local
200 count( INSTALLDIR, 1 ) {
201 PREFIX = $${INSTALLDIR}
202 message( "Please use PREFIX instead of INSTALLDIR" )
203 }
204 }
205 isEmpty( BINDIR ) {
206 BINDIR = $${PREFIX}/bin
207 }
208 isEmpty( DATADIR ) {
209 DATADIR = $${PREFIX}/share
210 }
211 isEmpty( DOCDIR ) {
212 DOCDIR = $${DATADIR}/doc/packages/vym
213 }
215 message( "Installation directory" )
216 message( $$PREFIX )
219 target.path = $${BINDIR}
220 INSTALLS += target
222 support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/ demos/
223 support.path = $${DATADIR}/vym
224 INSTALLS += support
226 doc.files = doc/vym.pdf
227 doc.path = $${DOCDIR}
228 INSTALLS += doc
229 DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"
231 include(test/modeltest/modeltest.pri)