author | insilmaril |
Thu, 06 Aug 2009 10:42:17 +0000 | |
changeset 786 | 6269016c9905 |
parent 785 | 5987f9f15bac |
child 788 | 78ba80b54bc4 |
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 noteobj.h \
73 options.h \
74 ornamentedobj.h \
75 parser.h \
76 process.h \
77 showtextdialog.h\
78 simplescripteditor.h\
79 texteditor.h \
80 treeeditor.h \
81 version.h \
82 vymmodel.h \
83 xlinkobj.h \
84 xml-base.h \
85 xml-vym.h \
86 xml-freemind.h \
87 xmlobj.h\
88 xsltproc.h \
89 settings.h \
90 treeitem.h \
91 treemodel.h \
92 vymview.h \
93 warningdialog.h
95 SOURCES += \
96 aboutdialog.cpp \
97 adaptormodel.cpp \
98 animpoint.cpp \
99 attribute.cpp \
100 attributeitem.cpp \
101 # attributedelegate.cpp \
102 # attributedialog.cpp \
103 # attributewidget.cpp \
104 branchitem.cpp \
105 branchobj.cpp \
106 branchpropwindow.cpp \
107 editxlinkdialog.cpp \
108 exportoofiledialog.cpp \
109 exports.cpp \
110 exportxhtmldialog.cpp \
111 extrainfodialog.cpp \
112 file.cpp \
113 findwindow.cpp \
114 flag.cpp \
115 flagobj.cpp \
116 flagrow.cpp \
117 flagrowobj.cpp \
118 floatimageobj.cpp \
119 floatobj.cpp \
120 frameobj.cpp \
121 geometry.cpp \
122 headingobj.cpp \
123 highlighter.cpp \
124 historywindow.cpp \
125 imageitem.cpp \
126 imageobj.cpp \
127 imports.cpp \
128 linkablemapobj.cpp \
129 main.cpp \
130 mainwindow.cpp \
131 mapeditor.cpp \
132 mapitem.cpp \
133 mapobj.cpp \
134 misc.cpp \
135 noteobj.cpp \
136 options.cpp \
137 ornamentedobj.cpp \
138 parser.cpp \
139 process.cpp \
140 showtextdialog.cpp \
141 simplescripteditor.cpp \
142 texteditor.cpp \
143 treeeditor.cpp \
144 treeitem.cpp \
145 treemodel.cpp \
146 version.cpp \
147 vymmodel.cpp \
148 xlinkobj.cpp \
149 xml-base.cpp \
150 xml-vym.cpp \
151 xml-freemind.cpp \
152 xmlobj.cpp \
153 xsltproc.cpp \
154 settings.cpp \
155 vymview.cpp \
156 warningdialog.cpp
158 FORMS = \
159 attributewidget.ui \
160 branchpropwindow.ui \
161 exportxhtmldialog.ui \
162 extrainfodialog.ui \
163 editxlinkdialog.ui \
164 historywindow.ui \
165 simplescripteditor.ui \
166 showtextdialog.ui \
167 warningdialog.ui
169 win32 {
170 HEADERS += mkdtemp.h
171 SOURCES += mkdtemp.cpp
172 RC_FILE = vym.rc
173 }
175 #The following lines were inserted by qt3to4
176 QT += xml
178 TARGET = vym
181 isEmpty( PREFIX ) {
182 PREFIX = /usr/local
183 count( INSTALLDIR, 1 ) {
184 PREFIX = $${INSTALLDIR}
185 message( "Please use PREFIX instead of INSTALLDIR" )
186 }
187 }
188 isEmpty( BINDIR ) {
189 BINDIR = $${PREFIX}/bin
190 }
191 isEmpty( DATADIR ) {
192 DATADIR = $${PREFIX}/share
193 }
194 isEmpty( DOCDIR ) {
195 DOCDIR = $${DATADIR}/doc/packages/vym
196 }
198 message( "Installation directory" )
199 message( $$PREFIX )
202 target.path = $${BINDIR}
203 INSTALLS += target
205 support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/ demos/
206 support.path = $${DATADIR}/vym
207 INSTALLS += support
209 doc.files = doc/vym.pdf
210 doc.path = $${DOCDIR}
211 INSTALLS += doc
212 DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"