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