author | convert-repo |
Fri Jul 23 16:43:49 2010 +0000 (2010-07-23) | |
changeset 849 | 988f1908a7c4 |
parent 845 | b98c1793bb8b |
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 xlink.h \
95 xlinkitem.h \
96 xlinkobj.h \
97 xml-base.h \
98 xml-vym.h \
99 xml-freemind.h \
100 xmlobj.h\
101 xsltproc.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 extrainfodialog.cpp \
121 file.cpp \
122 findwidget.cpp \
123 findresultwidget.cpp \
124 findresultitem.cpp \
125 findresultmodel.cpp \
126 flag.cpp \
127 flagobj.cpp \
128 flagrow.cpp \
129 flagrowobj.cpp \
130 floatimageobj.cpp \
131 floatobj.cpp \
132 frameobj.cpp \
133 geometry.cpp \
134 headingobj.cpp \
135 highlighter.cpp \
136 historywindow.cpp \
137 imageitem.cpp \
138 imageobj.cpp \
139 imports.cpp \
140 linkablemapobj.cpp \
141 main.cpp \
142 mainwindow.cpp \
143 mapeditor.cpp \
144 mapitem.cpp \
145 mapobj.cpp \
146 misc.cpp \
147 mysortfilterproxymodel.cpp \
148 noteobj.cpp \
149 options.cpp \
150 ornamentedobj.cpp \
151 parser.cpp \
152 process.cpp \
153 settings.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 vymview.cpp \
164 warningdialog.cpp \
165 xlink.cpp \
166 xlinkitem.cpp \
167 xlinkobj.cpp \
168 xml-base.cpp \
169 xml-vym.cpp \
170 xml-freemind.cpp \
171 xmlobj.cpp \
172 xsltproc.cpp
174 FORMS = \
175 attributewidget.ui \
176 branchpropwindow.ui \
177 exporthtmldialog.ui \
178 extrainfodialog.ui \
179 editxlinkdialog.ui \
180 historywindow.ui \
181 simplescripteditor.ui \
182 showtextdialog.ui \
183 warningdialog.ui
185 win32 {
186 HEADERS += mkdtemp.h
187 SOURCES += mkdtemp.cpp
188 RC_FILE = vym.rc
189 }
191 #The following lines were inserted by qt3to4
192 QT += xml
194 TARGET = vym
197 isEmpty( PREFIX ) {
198 PREFIX = /usr/local
199 count( INSTALLDIR, 1 ) {
200 PREFIX = $${INSTALLDIR}
201 message( "Please use PREFIX instead of INSTALLDIR" )
202 }
203 }
204 isEmpty( BINDIR ) {
205 BINDIR = $${PREFIX}/bin
206 }
207 isEmpty( DATADIR ) {
208 DATADIR = $${PREFIX}/share
209 }
210 isEmpty( DOCDIR ) {
211 DOCDIR = $${DATADIR}/doc/packages/vym
212 }
214 message( "Installation directory" )
215 message( $$PREFIX )
218 target.path = $${BINDIR}
219 INSTALLS += target
221 support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/ demos/
222 support.path = $${DATADIR}/vym
223 INSTALLS += support
225 doc.files = doc/vym.pdf
226 doc.path = $${DOCDIR}
227 INSTALLS += doc
228 DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"
230 #include(test/modeltest/modeltest.pri)