vym.pro
author insilmaril
Thu, 01 Oct 2009 11:28:50 +0000
changeset 798 d251c7b2de54
parent 791 f1006de05c54
child 804 14f2b1b15242
permissions -rw-r--r--
Various fixes for relinking and selecting
insilmaril@94
     1
TEMPLATE	= app
insilmaril@94
     2
LANGUAGE	= C++
insilmaril@94
     3
insilmaril@785
     4
CONFIG	+= qt warn_on debug
insilmaril@389
     5
CONFIG += x86 ppc
insilmaril@781
     6
CONFIG += qdbus
insilmaril@767
     7
insilmaril@767
     8
include (/data/qtanimationframework-2.3-opensource/src/gui-animation.pri)
insilmaril@767
     9
include (/data/qtanimationframework-2.3-opensource/src/corelib-animation.pri)
insilmaril@767
    10
include (/data/qtanimationframework-2.3-opensource/src/qtanimationframework.pri)
insilmaril@767
    11
insilmaril@665
    12
TRANSLATIONS += lang/vym_de.ts
insilmaril@665
    13
TRANSLATIONS += lang/vym_en.ts
insilmaril@665
    14
TRANSLATIONS += lang/vym_es.ts
insilmaril@721
    15
TRANSLATIONS += lang/vym_it.ts
insilmaril@706
    16
TRANSLATIONS += lang/vym_fr.ts
insilmaril@721
    17
TRANSLATIONS += lang/vym_zh_CN.ts
insilmaril@706
    18
TRANSLATIONS += lang/vym_pt_BR.ts
insilmaril@752
    19
TRANSLATIONS += lang/vym_sv.ts
insilmaril@742
    20
TRANSLATIONS += lang/vym_zh_TW.ts
insilmaril@665
    21
insilmaril@608
    22
# Manifest embedding was suggested by Qt docs somewhere...
insilmaril@608
    23
win32: CONFIG += embed_manifest_exe
insilmaril@608
    24
insilmaril@625
    25
# Without this, M_PI, and M_PI_2 won`t be defined.
insilmaril@608
    26
win32:DEFINES *= _USE_MATH_DEFINES
insilmaril@608
    27
insilmaril@406
    28
ICON =icons/vym.icns
insilmaril@389
    29
insilmaril@366
    30
QT += qt3support
insilmaril@527
    31
QT += network
insilmaril@94
    32
insilmaril@625
    33
HEADERS	+= \
insilmaril@388
    34
	aboutdialog.h \
insilmaril@784
    35
	adaptormodel.h \
insilmaril@477
    36
	animpoint.h \
insilmaril@620
    37
	attribute.h \
insilmaril@786
    38
	attributeitem.h \
insilmaril@767
    39
#	attributedelegate.h\
insilmaril@767
    40
#	attributedialog.h \
insilmaril@767
    41
#	attributewidget.h \
insilmaril@746
    42
	branchitem.h \
insilmaril@105
    43
	branchobj.h \
insilmaril@423
    44
	branchpropwindow.h\
insilmaril@388
    45
	editxlinkdialog.h \
insilmaril@191
    46
	exportoofiledialog.h \
insilmaril@388
    47
	exportxhtmldialog.h\
insilmaril@0
    48
	exports.h \
insilmaril@388
    49
	extrainfodialog.h \
insilmaril@179
    50
	file.h \
insilmaril@0
    51
	findwindow.h \
insilmaril@767
    52
	flag.h \
insilmaril@0
    53
	flagobj.h \
insilmaril@0
    54
	flagrowobj.h \
insilmaril@766
    55
	flagrow.h \
insilmaril@0
    56
	floatimageobj.h \
insilmaril@0
    57
	floatobj.h \
insilmaril@0
    58
	frameobj.h \
insilmaril@645
    59
	geometry.h \
insilmaril@0
    60
	headingobj.h \
insilmaril@434
    61
	highlighter.h \
insilmaril@380
    62
	historywindow.h \
insilmaril@776
    63
	imageitem.h \
insilmaril@0
    64
	imageobj.h \
insilmaril@205
    65
	imports.h \
insilmaril@0
    66
	linkablemapobj.h \
insilmaril@0
    67
	mainwindow.h \
insilmaril@0
    68
	mapeditor.h \
insilmaril@760
    69
	mapitem.h \
insilmaril@0
    70
	mapobj.h \
insilmaril@0
    71
	misc.h \
insilmaril@788
    72
	mysortfilterproxymodel.h \
insilmaril@0
    73
	noteobj.h \
insilmaril@388
    74
	options.h \
insilmaril@0
    75
	ornamentedobj.h \
insilmaril@432
    76
	parser.h \
insilmaril@0
    77
	process.h \
insilmaril@380
    78
	showtextdialog.h\
insilmaril@432
    79
	simplescripteditor.h\
insilmaril@0
    80
	texteditor.h \
insilmaril@769
    81
	treeeditor.h \
insilmaril@0
    82
	version.h \
insilmaril@645
    83
	vymmodel.h \
insilmaril@790
    84
	xlinkitem.h \
insilmaril@620
    85
	xlinkobj.h \
insilmaril@574
    86
	xml-base.h \
insilmaril@574
    87
	xml-vym.h \
insilmaril@566
    88
	xml-freemind.h \
insilmaril@620
    89
	xmlobj.h\
insilmaril@205
    90
	xsltproc.h \
insilmaril@0
    91
	settings.h \
insilmaril@725
    92
	treeitem.h \
insilmaril@725
    93
	treemodel.h \
insilmaril@726
    94
	vymview.h \
insilmaril@388
    95
	warningdialog.h
insilmaril@102
    96
insilmaril@388
    97
SOURCES	+= \
insilmaril@388
    98
	aboutdialog.cpp \
insilmaril@784
    99
	adaptormodel.cpp \
insilmaril@477
   100
	animpoint.cpp \
insilmaril@620
   101
	attribute.cpp \
insilmaril@786
   102
	attributeitem.cpp \
insilmaril@767
   103
#	attributedelegate.cpp \
insilmaril@767
   104
#	attributedialog.cpp \
insilmaril@767
   105
#	attributewidget.cpp \
insilmaril@746
   106
	branchitem.cpp \
insilmaril@105
   107
	branchobj.cpp \
insilmaril@423
   108
	branchpropwindow.cpp \
insilmaril@388
   109
	editxlinkdialog.cpp \
insilmaril@191
   110
	exportoofiledialog.cpp \
insilmaril@0
   111
	exports.cpp \
insilmaril@388
   112
	exportxhtmldialog.cpp \
insilmaril@388
   113
	extrainfodialog.cpp \
insilmaril@179
   114
	file.cpp \
insilmaril@0
   115
	findwindow.cpp \
insilmaril@767
   116
	flag.cpp \
insilmaril@0
   117
	flagobj.cpp \
insilmaril@766
   118
	flagrow.cpp \
insilmaril@0
   119
	flagrowobj.cpp \
insilmaril@0
   120
	floatimageobj.cpp \
insilmaril@0
   121
	floatobj.cpp \
insilmaril@0
   122
	frameobj.cpp \
insilmaril@645
   123
	geometry.cpp \
insilmaril@0
   124
	headingobj.cpp \
insilmaril@434
   125
	highlighter.cpp \
insilmaril@380
   126
	historywindow.cpp \
insilmaril@776
   127
	imageitem.cpp \
insilmaril@0
   128
	imageobj.cpp \
insilmaril@205
   129
	imports.cpp \
insilmaril@0
   130
	linkablemapobj.cpp \
insilmaril@0
   131
	main.cpp \
insilmaril@0
   132
	mainwindow.cpp \
insilmaril@0
   133
	mapeditor.cpp \
insilmaril@760
   134
	mapitem.cpp \
insilmaril@0
   135
	mapobj.cpp \
insilmaril@0
   136
	misc.cpp \
insilmaril@788
   137
	mysortfilterproxymodel.cpp \
insilmaril@0
   138
	noteobj.cpp \
insilmaril@388
   139
	options.cpp \
insilmaril@0
   140
	ornamentedobj.cpp \
insilmaril@432
   141
	parser.cpp \
insilmaril@0
   142
	process.cpp \
insilmaril@380
   143
	showtextdialog.cpp \
insilmaril@432
   144
	simplescripteditor.cpp \
insilmaril@0
   145
	texteditor.cpp \
insilmaril@769
   146
	treeeditor.cpp \
insilmaril@725
   147
	treeitem.cpp \
insilmaril@725
   148
	treemodel.cpp \
insilmaril@395
   149
	version.cpp \
insilmaril@645
   150
	vymmodel.cpp \
insilmaril@790
   151
	xlinkitem.cpp \
insilmaril@620
   152
	xlinkobj.cpp \
insilmaril@574
   153
	xml-base.cpp \
insilmaril@574
   154
	xml-vym.cpp \
insilmaril@566
   155
	xml-freemind.cpp \
insilmaril@620
   156
	xmlobj.cpp \
insilmaril@205
   157
	xsltproc.cpp \
insilmaril@0
   158
	settings.cpp \
insilmaril@726
   159
	vymview.cpp \
insilmaril@625
   160
	warningdialog.cpp
insilmaril@102
   161
insilmaril@388
   162
FORMS = \
insilmaril@625
   163
	attributewidget.ui \
insilmaril@423
   164
	branchpropwindow.ui \
insilmaril@388
   165
	exportxhtmldialog.ui \
insilmaril@94
   166
	extrainfodialog.ui \
insilmaril@317
   167
	editxlinkdialog.ui \
insilmaril@388
   168
	historywindow.ui \
insilmaril@432
   169
	simplescripteditor.ui \
insilmaril@388
   170
	showtextdialog.ui \
insilmaril@317
   171
	warningdialog.ui
insilmaril@0
   172
insilmaril@625
   173
win32 {
insilmaril@625
   174
	HEADERS += mkdtemp.h
insilmaril@625
   175
	SOURCES += mkdtemp.cpp
insilmaril@625
   176
	RC_FILE = vym.rc
insilmaril@625
   177
}
insilmaril@625
   178
insilmaril@380
   179
#The following lines were inserted by qt3to4
insilmaril@625
   180
QT += xml
insilmaril@366
   181
insilmaril@102
   182
TARGET  = vym
insilmaril@398
   183
insilmaril@102
   184
insilmaril@608
   185
isEmpty( PREFIX ) {
insilmaril@608
   186
	PREFIX = /usr/local
insilmaril@608
   187
	count( INSTALLDIR, 1 ) {
insilmaril@608
   188
		PREFIX = $${INSTALLDIR}
insilmaril@608
   189
		message( "Please use PREFIX instead of INSTALLDIR" )
insilmaril@608
   190
	}
insilmaril@608
   191
}
insilmaril@608
   192
isEmpty( BINDIR ) {
insilmaril@608
   193
	BINDIR = $${PREFIX}/bin
insilmaril@608
   194
}
insilmaril@608
   195
isEmpty( DATADIR ) {
insilmaril@608
   196
	DATADIR = $${PREFIX}/share
insilmaril@608
   197
}
insilmaril@608
   198
isEmpty( DOCDIR ) {
insilmaril@608
   199
	DOCDIR = $${DATADIR}/doc/packages/vym
insilmaril@608
   200
}
insilmaril@360
   201
insilmaril@360
   202
message( "Installation directory" )
insilmaril@608
   203
message( $$PREFIX )
insilmaril@360
   204
insilmaril@360
   205
insilmaril@608
   206
target.path = $${BINDIR}
insilmaril@102
   207
INSTALLS += target
insilmaril@102
   208
insilmaril@702
   209
support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/ demos/
insilmaril@608
   210
support.path = $${DATADIR}/vym
insilmaril@102
   211
INSTALLS += support 
insilmaril@102
   212
insilmaril@625
   213
doc.files = doc/vym.pdf
insilmaril@608
   214
doc.path = $${DOCDIR}
insilmaril@102
   215
INSTALLS += doc
insilmaril@608
   216
DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"
insilmaril@102
   217
insilmaril@791
   218
include(test/modeltest/modeltest.pri)