author | insilmaril |
Mon, 07 Dec 2009 21:56:46 +0000 | |
changeset 815 | 2881c4424190 |
parent 808 | b163492fda17 |
child 816 | 3086ee01554a |
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/gui-animation.pri)
10 include (/data/qtanimationframework-2.3-opensource/src/corelib-animation.pri)
11 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 adaptormodel.h \
37 animpoint.h \
38 attribute.h \
39 attributeitem.h \
40 # attributedelegate.h\
41 # attributedialog.h \
42 # attributewidget.h \
43 branchitem.h \
44 branchobj.h \
45 branchpropwindow.h\
46 editxlinkdialog.h \
47 exportoofiledialog.h \
48 exportxhtmldialog.h\
49 exports.h \
50 extrainfodialog.h \
51 file.h \
52 findwidget.h \
53 flag.h \
54 flagobj.h \
55 flagrowobj.h \
56 flagrow.h \
57 floatimageobj.h \
58 floatobj.h \
59 frameobj.h \
60 geometry.h \
61 headingobj.h \
62 highlighter.h \
63 historywindow.h \
64 imageitem.h \
65 imageobj.h \
66 imports.h \
67 linkablemapobj.h \
68 mainwindow.h \
69 mapeditor.h \
70 mapitem.h \
71 mapobj.h \
72 misc.h \
73 mysortfilterproxymodel.h \
74 noteobj.h \
75 options.h \
76 ornamentedobj.h \
77 parser.h \
78 process.h \
79 shortcuts.h\
80 showtextdialog.h\
81 simplescripteditor.h\
82 texteditor.h \
83 treeeditor.h \
84 version.h \
85 vymmodel.h \
86 xlinkitem.h \
87 xlinkobj.h \
88 xml-base.h \
89 xml-vym.h \
90 xml-freemind.h \
91 xmlobj.h\
92 xsltproc.h \
93 settings.h \
94 treeitem.h \
95 treemodel.h \
96 vymview.h \
97 warningdialog.h
99 SOURCES += \
100 aboutdialog.cpp \
101 adaptormodel.cpp \
102 animpoint.cpp \
103 attribute.cpp \
104 attributeitem.cpp \
105 # attributedelegate.cpp \
106 # attributedialog.cpp \
107 # attributewidget.cpp \
108 branchitem.cpp \
109 branchobj.cpp \
110 branchpropwindow.cpp \
111 editxlinkdialog.cpp \
112 exportoofiledialog.cpp \
113 exports.cpp \
114 exportxhtmldialog.cpp \
115 extrainfodialog.cpp \
116 file.cpp \
117 findwidget.cpp \
118 flag.cpp \
119 flagobj.cpp \
120 flagrow.cpp \
121 flagrowobj.cpp \
122 floatimageobj.cpp \
123 floatobj.cpp \
124 frameobj.cpp \
125 geometry.cpp \
126 headingobj.cpp \
127 highlighter.cpp \
128 historywindow.cpp \
129 imageitem.cpp \
130 imageobj.cpp \
131 imports.cpp \
132 linkablemapobj.cpp \
133 main.cpp \
134 mainwindow.cpp \
135 mapeditor.cpp \
136 mapitem.cpp \
137 mapobj.cpp \
138 misc.cpp \
139 mysortfilterproxymodel.cpp \
140 noteobj.cpp \
141 options.cpp \
142 ornamentedobj.cpp \
143 parser.cpp \
144 process.cpp \
145 shortcuts.cpp\
146 showtextdialog.cpp \
147 simplescripteditor.cpp \
148 texteditor.cpp \
149 treeeditor.cpp \
150 treeitem.cpp \
151 treemodel.cpp \
152 version.cpp \
153 vymmodel.cpp \
154 xlinkitem.cpp \
155 xlinkobj.cpp \
156 xml-base.cpp \
157 xml-vym.cpp \
158 xml-freemind.cpp \
159 xmlobj.cpp \
160 xsltproc.cpp \
161 settings.cpp \
162 vymview.cpp \
163 warningdialog.cpp
165 FORMS = \
166 attributewidget.ui \
167 branchpropwindow.ui \
168 exportxhtmldialog.ui \
169 extrainfodialog.ui \
170 editxlinkdialog.ui \
171 historywindow.ui \
172 simplescripteditor.ui \
173 showtextdialog.ui \
174 warningdialog.ui
176 win32 {
177 HEADERS += mkdtemp.h
178 SOURCES += mkdtemp.cpp
179 RC_FILE = vym.rc
180 }
182 #The following lines were inserted by qt3to4
183 QT += xml
185 TARGET = vym
188 isEmpty( PREFIX ) {
189 PREFIX = /usr/local
190 count( INSTALLDIR, 1 ) {
191 PREFIX = $${INSTALLDIR}
192 message( "Please use PREFIX instead of INSTALLDIR" )
193 }
194 }
195 isEmpty( BINDIR ) {
196 BINDIR = $${PREFIX}/bin
197 }
198 isEmpty( DATADIR ) {
199 DATADIR = $${PREFIX}/share
200 }
201 isEmpty( DOCDIR ) {
202 DOCDIR = $${DATADIR}/doc/packages/vym
203 }
205 message( "Installation directory" )
206 message( $$PREFIX )
209 target.path = $${BINDIR}
210 INSTALLS += target
212 support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/ demos/
213 support.path = $${DATADIR}/vym
214 INSTALLS += support
216 doc.files = doc/vym.pdf
217 doc.path = $${DOCDIR}
218 INSTALLS += doc
219 DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"
221 include(test/modeltest/modeltest.pri)