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