author | insilmaril |
Thu, 21 Jan 2010 11:56:57 +0000 | |
changeset 821 | 4a84d7e444d8 |
parent 816 | 3086ee01554a |
child 823 | 0bba81dde1bc |
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/qtanimationframework.pri)
11 TRANSLATIONS += lang/vym_de.ts
12 TRANSLATIONS += lang/vym_en.ts
13 TRANSLATIONS += lang/vym_es.ts
14 TRANSLATIONS += lang/vym_it.ts
15 TRANSLATIONS += lang/vym_fr.ts
16 TRANSLATIONS += lang/vym_zh_CN.ts
17 TRANSLATIONS += lang/vym_pt_BR.ts
18 TRANSLATIONS += lang/vym_sv.ts
19 TRANSLATIONS += lang/vym_zh_TW.ts
21 # Manifest embedding was suggested by Qt docs somewhere...
22 win32: CONFIG += embed_manifest_exe
24 # Without this, M_PI, and M_PI_2 won`t be defined.
25 win32:DEFINES *= _USE_MATH_DEFINES
27 ICON =icons/vym.icns
29 QT += qt3support
30 QT += network
32 HEADERS += \
33 aboutdialog.h \
34 adaptormodel.h \
35 animpoint.h \
36 attribute.h \
37 attributeitem.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 findwidget.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 imageitem.h \
63 imageobj.h \
64 imports.h \
65 linkablemapobj.h \
66 mainwindow.h \
67 mapeditor.h \
68 mapitem.h \
69 mapobj.h \
70 misc.h \
71 mysortfilterproxymodel.h \
72 noteobj.h \
73 options.h \
74 ornamentedobj.h \
75 parser.h \
76 process.h \
77 shortcuts.h\
78 showtextdialog.h\
79 simplescripteditor.h\
80 texteditor.h \
81 treeeditor.h \
82 version.h \
83 vymmodel.h \
84 xlinkitem.h \
85 xlinkobj.h \
86 xml-base.h \
87 xml-vym.h \
88 xml-freemind.h \
89 xmlobj.h\
90 xsltproc.h \
91 settings.h \
92 treeitem.h \
93 treemodel.h \
94 vymview.h \
95 warningdialog.h
97 SOURCES += \
98 aboutdialog.cpp \
99 adaptormodel.cpp \
100 animpoint.cpp \
101 attribute.cpp \
102 attributeitem.cpp \
103 # attributedelegate.cpp \
104 # attributedialog.cpp \
105 # attributewidget.cpp \
106 branchitem.cpp \
107 branchobj.cpp \
108 branchpropwindow.cpp \
109 editxlinkdialog.cpp \
110 exportoofiledialog.cpp \
111 exports.cpp \
112 exportxhtmldialog.cpp \
113 extrainfodialog.cpp \
114 file.cpp \
115 findwidget.cpp \
116 flag.cpp \
117 flagobj.cpp \
118 flagrow.cpp \
119 flagrowobj.cpp \
120 floatimageobj.cpp \
121 floatobj.cpp \
122 frameobj.cpp \
123 geometry.cpp \
124 headingobj.cpp \
125 highlighter.cpp \
126 historywindow.cpp \
127 imageitem.cpp \
128 imageobj.cpp \
129 imports.cpp \
130 linkablemapobj.cpp \
131 main.cpp \
132 mainwindow.cpp \
133 mapeditor.cpp \
134 mapitem.cpp \
135 mapobj.cpp \
136 misc.cpp \
137 mysortfilterproxymodel.cpp \
138 noteobj.cpp \
139 options.cpp \
140 ornamentedobj.cpp \
141 parser.cpp \
142 process.cpp \
143 shortcuts.cpp\
144 showtextdialog.cpp \
145 simplescripteditor.cpp \
146 texteditor.cpp \
147 treeeditor.cpp \
148 treeitem.cpp \
149 treemodel.cpp \
150 version.cpp \
151 vymmodel.cpp \
152 xlinkitem.cpp \
153 xlinkobj.cpp \
154 xml-base.cpp \
155 xml-vym.cpp \
156 xml-freemind.cpp \
157 xmlobj.cpp \
158 xsltproc.cpp \
159 settings.cpp \
160 vymview.cpp \
161 warningdialog.cpp
163 FORMS = \
164 attributewidget.ui \
165 branchpropwindow.ui \
166 exportxhtmldialog.ui \
167 extrainfodialog.ui \
168 editxlinkdialog.ui \
169 historywindow.ui \
170 simplescripteditor.ui \
171 showtextdialog.ui \
172 warningdialog.ui
174 win32 {
175 HEADERS += mkdtemp.h
176 SOURCES += mkdtemp.cpp
177 RC_FILE = vym.rc
178 }
180 #The following lines were inserted by qt3to4
181 QT += xml
183 TARGET = vym
186 isEmpty( PREFIX ) {
187 PREFIX = /usr/local
188 count( INSTALLDIR, 1 ) {
189 PREFIX = $${INSTALLDIR}
190 message( "Please use PREFIX instead of INSTALLDIR" )
191 }
192 }
193 isEmpty( BINDIR ) {
194 BINDIR = $${PREFIX}/bin
195 }
196 isEmpty( DATADIR ) {
197 DATADIR = $${PREFIX}/share
198 }
199 isEmpty( DOCDIR ) {
200 DOCDIR = $${DATADIR}/doc/packages/vym
201 }
203 message( "Installation directory" )
204 message( $$PREFIX )
207 target.path = $${BINDIR}
208 INSTALLS += target
210 support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/ demos/
211 support.path = $${DATADIR}/vym
212 INSTALLS += support
214 doc.files = doc/vym.pdf
215 doc.path = $${DOCDIR}
216 INSTALLS += doc
217 DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"
219 include(test/modeltest/modeltest.pri)