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