vym.pro
branchrelease-1-12-maintained
changeset 62 85683324f94a
parent 0 7a96bd401351
child 64 4f305c07dd7c
     1.1 --- a/vym.pro	Mon Mar 16 15:40:49 2009 +0000
     1.2 +++ b/vym.pro	Thu Mar 19 11:48:33 2009 +0000
     1.3 @@ -1,39 +1,57 @@
     1.4 -TARGET  = vym
     1.5 -TRANSLATIONS += vym_de.ts
     1.6 -
     1.7  TEMPLATE	= app
     1.8  LANGUAGE	= C++
     1.9  
    1.10 -CONFIG	+= qt warn_on release
    1.11 +CONFIG	+= qt warn_on release debug
    1.12 +CONFIG += x86 ppc
    1.13  
    1.14 -DESTROOT = /usr
    1.15 +TRANSLATIONS += lang/vym_de.ts
    1.16 +TRANSLATIONS += lang/vym_en.ts
    1.17 +TRANSLATIONS += lang/vym_es.ts
    1.18 +TRANSLATIONS += lang/vym_fr.ts
    1.19 +TRANSLATIONS += lang/vym_it.ts
    1.20 +TRANSLATIONS += lang/vym_pt_BR.ts
    1.21 +TRANSLATIONS += lang/vym_ru.ts
    1.22 +TRANSLATIONS += lang/vym_zh_CN.ts
    1.23 +TRANSLATIONS += lang/vym_zh_TW.ts
    1.24  
    1.25 -target.path = $${DESTROOT}/bin
    1.26 -INSTALLS += target
    1.27 +# Manifest embedding was suggested by Qt docs somewhere...
    1.28 +win32: CONFIG += embed_manifest_exe
    1.29  
    1.30 -support.files = styles/ scripts/ icons/
    1.31 -support.path = $${DESTROOT}/share/vym
    1.32 -INSTALLS += support 
    1.33 +# Without this, M_PI, and M_PI_2 won`t be defined.
    1.34 +win32:DEFINES *= _USE_MATH_DEFINES
    1.35  
    1.36 -doc.files = doc/*
    1.37 -doc.path = $${DESTROOT}/share/doc/packages/vym
    1.38 -INSTALLS += doc
    1.39 +ICON =icons/vym.icns
    1.40  
    1.41 -demo.files = demos/
    1.42 -demo.path = $${DESTROOT}/share/vym
    1.43 -INSTALLS += demo
    1.44 +QT += qt3support
    1.45 +QT += network
    1.46  
    1.47 -
    1.48 -HEADERS	+= branchobj.h \
    1.49 +HEADERS	+= \
    1.50 +	aboutdialog.h \
    1.51 +	animpoint.h \
    1.52 +	attribute.h \
    1.53 +	attributedelegate.h\
    1.54 +	attributedialog.h \
    1.55 +	attributewidget.h \
    1.56 +	branchobj.h \
    1.57 +	branchpropwindow.h\
    1.58 +	editxlinkdialog.h \
    1.59 +	exportoofiledialog.h \
    1.60 +	exportxhtmldialog.h\
    1.61  	exports.h \
    1.62 +	extrainfodialog.h \
    1.63 +	file.h \
    1.64  	findwindow.h \
    1.65  	flagobj.h \
    1.66  	flagrowobj.h \
    1.67  	floatimageobj.h \
    1.68  	floatobj.h \
    1.69  	frameobj.h \
    1.70 +	geometry.h \
    1.71  	headingobj.h \
    1.72 +	highlighter.h \
    1.73 +	historywindow.h \
    1.74  	imageobj.h \
    1.75 +	imports.h \
    1.76  	linkablemapobj.h \
    1.77  	mainwindow.h \
    1.78  	mapcenterobj.h \
    1.79 @@ -41,24 +59,52 @@
    1.80  	mapobj.h \
    1.81  	misc.h \
    1.82  	noteobj.h \
    1.83 +	options.h \
    1.84  	ornamentedobj.h \
    1.85 +	parser.h \
    1.86  	process.h \
    1.87  	selection.h \
    1.88 +	showtextdialog.h\
    1.89 +	simplescripteditor.h\
    1.90  	texteditor.h \
    1.91  	version.h \
    1.92 -	xml.h \
    1.93 +	vymmodel.h \
    1.94 +	xlinkobj.h \
    1.95 +	xml-base.h \
    1.96 +	xml-vym.h \
    1.97 +	xml-freemind.h \
    1.98 +	xmlobj.h\
    1.99 +	xsltproc.h \
   1.100  	settings.h \
   1.101 -	options.h
   1.102 -SOURCES	+= branchobj.cpp \
   1.103 +	warningdialog.h
   1.104 +
   1.105 +SOURCES	+= \
   1.106 +	aboutdialog.cpp \
   1.107 +	animpoint.cpp \
   1.108 +	attribute.cpp \
   1.109 +	attributedelegate.cpp \
   1.110 +	attributedialog.cpp \
   1.111 +	attributewidget.cpp \
   1.112 +	branchobj.cpp \
   1.113 +	branchpropwindow.cpp \
   1.114 +	editxlinkdialog.cpp \
   1.115 +	exportoofiledialog.cpp \
   1.116  	exports.cpp \
   1.117 +	exportxhtmldialog.cpp \
   1.118 +	extrainfodialog.cpp \
   1.119 +	file.cpp \
   1.120  	findwindow.cpp \
   1.121  	flagobj.cpp \
   1.122  	flagrowobj.cpp \
   1.123  	floatimageobj.cpp \
   1.124  	floatobj.cpp \
   1.125  	frameobj.cpp \
   1.126 +	geometry.cpp \
   1.127  	headingobj.cpp \
   1.128 +	highlighter.cpp \
   1.129 +	historywindow.cpp \
   1.130  	imageobj.cpp \
   1.131 +	imports.cpp \
   1.132  	linkablemapobj.cpp \
   1.133  	main.cpp \
   1.134  	mainwindow.cpp \
   1.135 @@ -67,15 +113,78 @@
   1.136  	mapobj.cpp \
   1.137  	misc.cpp \
   1.138  	noteobj.cpp \
   1.139 +	options.cpp \
   1.140  	ornamentedobj.cpp \
   1.141 +	parser.cpp \
   1.142  	process.cpp \
   1.143  	selection.cpp \
   1.144 +	showtextdialog.cpp \
   1.145 +	simplescripteditor.cpp \
   1.146  	texteditor.cpp \
   1.147 -	xml.cpp \
   1.148 +	version.cpp \
   1.149 +	vymmodel.cpp \
   1.150 +	xlinkobj.cpp \
   1.151 +	xml-base.cpp \
   1.152 +	xml-vym.cpp \
   1.153 +	xml-freemind.cpp \
   1.154 +	xmlobj.cpp \
   1.155 +	xsltproc.cpp \
   1.156  	settings.cpp \
   1.157 -	options.cpp
   1.158 -FORMS	= exporthtmldialog.ui \
   1.159 +	warningdialog.cpp
   1.160 +
   1.161 +FORMS = \
   1.162 +	attributewidget.ui \
   1.163 +	branchpropwindow.ui \
   1.164  	exportxhtmldialog.ui \
   1.165 +	extrainfodialog.ui \
   1.166 +	editxlinkdialog.ui \
   1.167 +	historywindow.ui \
   1.168 +	simplescripteditor.ui \
   1.169  	showtextdialog.ui \
   1.170 -	extrainfodialog.ui
   1.171 +	warningdialog.ui
   1.172  
   1.173 +win32 {
   1.174 +	HEADERS += mkdtemp.h
   1.175 +	SOURCES += mkdtemp.cpp
   1.176 +	RC_FILE = vym.rc
   1.177 +}
   1.178 +
   1.179 +#The following lines were inserted by qt3to4
   1.180 +QT += xml
   1.181 +
   1.182 +TARGET  = vym
   1.183 +
   1.184 +
   1.185 +isEmpty( PREFIX ) {
   1.186 +	PREFIX = /usr/local
   1.187 +	count( INSTALLDIR, 1 ) {
   1.188 +		PREFIX = $${INSTALLDIR}
   1.189 +		message( "Please use PREFIX instead of INSTALLDIR" )
   1.190 +	}
   1.191 +}
   1.192 +isEmpty( BINDIR ) {
   1.193 +	BINDIR = $${PREFIX}/bin
   1.194 +}
   1.195 +isEmpty( DATADIR ) {
   1.196 +	DATADIR = $${PREFIX}/share
   1.197 +}
   1.198 +isEmpty( DOCDIR ) {
   1.199 +	DOCDIR = $${DATADIR}/doc/packages/vym
   1.200 +}
   1.201 +
   1.202 +message( "Installation directory" )
   1.203 +message( $$PREFIX )
   1.204 +
   1.205 +
   1.206 +target.path = $${BINDIR}
   1.207 +INSTALLS += target
   1.208 +
   1.209 +support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/ demos/
   1.210 +support.path = $${DATADIR}/vym
   1.211 +INSTALLS += support 
   1.212 +
   1.213 +doc.files = doc/vym.pdf
   1.214 +doc.path = $${DOCDIR}
   1.215 +INSTALLS += doc
   1.216 +DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"
   1.217 +