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