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