author | insilmaril |
Fri, 09 Apr 2010 14:16:02 +0000 | |
changeset 845 | b98c1793bb8b |
parent 837 | 5ecd0462f76b |
child 847 | 43268373032d |
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 exports.h \
50 extrainfodialog.h \
51 file.h \
52 findwidget.h \
53 findresultwidget.h \
54 findresultitem.h \
55 findresultmodel.h \
56 flag.h \
57 flagobj.h \
58 flagrowobj.h \
59 flagrow.h \
60 floatimageobj.h \
61 floatobj.h \
62 frameobj.h \
63 geometry.h \
64 headingobj.h \
65 highlighter.h \
66 historywindow.h \
67 imageitem.h \
68 imageobj.h \
69 imports.h \
70 linkablemapobj.h \
71 mainwindow.h \
72 mapeditor.h \
73 mapitem.h \
74 mapobj.h \
75 misc.h \
76 mysortfilterproxymodel.h \
77 noteobj.h \
78 options.h \
79 ornamentedobj.h \
80 parser.h \
81 process.h \
82 settings.h \
83 shortcuts.h\
84 showtextdialog.h\
85 simplescripteditor.h\
86 treeeditor.h \
87 treeitem.h \
88 treemodel.h \
89 texteditor.h \
90 version.h \
91 vymmodel.h \
92 vymview.h \
93 warningdialog.h \
94 xlinkitem.h \
95 xlinkobj.h \
96 xml-base.h \
97 xml-vym.h \
98 xml-freemind.h \
99 xmlobj.h\
100 xsltproc.h
102 SOURCES += \
103 aboutdialog.cpp \
104 adaptormodel.cpp \
105 animpoint.cpp \
106 attribute.cpp \
107 attributeitem.cpp \
108 # attributedelegate.cpp \
109 # attributedialog.cpp \
110 # attributewidget.cpp \
111 branchitem.cpp \
112 branchobj.cpp \
113 branchpropwindow.cpp \
114 bugagent.cpp \
115 editxlinkdialog.cpp \
116 exportoofiledialog.cpp \
117 exports.cpp \
118 exporthtmldialog.cpp \
119 extrainfodialog.cpp \
120 file.cpp \
121 findwidget.cpp \
122 findresultwidget.cpp \
123 findresultitem.cpp \
124 findresultmodel.cpp \
125 flag.cpp \
126 flagobj.cpp \
127 flagrow.cpp \
128 flagrowobj.cpp \
129 floatimageobj.cpp \
130 floatobj.cpp \
131 frameobj.cpp \
132 geometry.cpp \
133 headingobj.cpp \
134 highlighter.cpp \
135 historywindow.cpp \
136 imageitem.cpp \
137 imageobj.cpp \
138 imports.cpp \
139 linkablemapobj.cpp \
140 main.cpp \
141 mainwindow.cpp \
142 mapeditor.cpp \
143 mapitem.cpp \
144 mapobj.cpp \
145 misc.cpp \
146 mysortfilterproxymodel.cpp \
147 noteobj.cpp \
148 options.cpp \
149 ornamentedobj.cpp \
150 parser.cpp \
151 process.cpp \
152 settings.cpp \
153 shortcuts.cpp\
154 showtextdialog.cpp \
155 simplescripteditor.cpp \
156 texteditor.cpp \
157 treeeditor.cpp \
158 treeitem.cpp \
159 treemodel.cpp \
160 version.cpp \
161 vymmodel.cpp \
162 vymview.cpp \
163 warningdialog.cpp \
164 xlinkitem.cpp \
165 xlinkobj.cpp \
166 xml-base.cpp \
167 xml-vym.cpp \
168 xml-freemind.cpp \
169 xmlobj.cpp \
170 xsltproc.cpp
172 FORMS = \
173 attributewidget.ui \
174 branchpropwindow.ui \
175 exporthtmldialog.ui \
176 extrainfodialog.ui \
177 editxlinkdialog.ui \
178 historywindow.ui \
179 simplescripteditor.ui \
180 showtextdialog.ui \
181 warningdialog.ui
183 win32 {
184 HEADERS += mkdtemp.h
185 SOURCES += mkdtemp.cpp
186 RC_FILE = vym.rc
187 }
189 #The following lines were inserted by qt3to4
190 QT += xml
192 TARGET = vym
195 isEmpty( PREFIX ) {
196 PREFIX = /usr/local
197 count( INSTALLDIR, 1 ) {
198 PREFIX = $${INSTALLDIR}
199 message( "Please use PREFIX instead of INSTALLDIR" )
200 }
201 }
202 isEmpty( BINDIR ) {
203 BINDIR = $${PREFIX}/bin
204 }
205 isEmpty( DATADIR ) {
206 DATADIR = $${PREFIX}/share
207 }
208 isEmpty( DOCDIR ) {
209 DOCDIR = $${DATADIR}/doc/packages/vym
210 }
212 message( "Installation directory" )
213 message( $$PREFIX )
216 target.path = $${BINDIR}
217 INSTALLS += target
219 support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/ demos/
220 support.path = $${DATADIR}/vym
221 INSTALLS += support
223 doc.files = doc/vym.pdf
224 doc.path = $${DOCDIR}
225 INSTALLS += doc
226 DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"
228 include(test/modeltest/modeltest.pri)