vym.pro
author insilmaril
Thu, 18 Mar 2010 11:31:02 +0000
changeset 837 5ecd0462f76b
parent 835 31841b366d5e
child 845 b98c1793bb8b
permissions -rw-r--r--
Switch to Qt 4.6.0: Removing QtAnimation framework
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@388
    49
	exportxhtmldialog.h\
insilmaril@0
    50
	exports.h \
insilmaril@388
    51
	extrainfodialog.h \
insilmaril@179
    52
	file.h \
insilmaril@808
    53
	findwidget.h \
insilmaril@825
    54
	findresultwidget.h \
insilmaril@825
    55
	findresultitem.h \
insilmaril@825
    56
	findresultmodel.h \
insilmaril@767
    57
	flag.h \
insilmaril@0
    58
	flagobj.h \
insilmaril@0
    59
	flagrowobj.h \
insilmaril@766
    60
	flagrow.h \
insilmaril@0
    61
	floatimageobj.h \
insilmaril@0
    62
	floatobj.h \
insilmaril@0
    63
	frameobj.h \
insilmaril@645
    64
	geometry.h \
insilmaril@0
    65
	headingobj.h \
insilmaril@434
    66
	highlighter.h \
insilmaril@380
    67
	historywindow.h \
insilmaril@776
    68
	imageitem.h \
insilmaril@0
    69
	imageobj.h \
insilmaril@205
    70
	imports.h \
insilmaril@0
    71
	linkablemapobj.h \
insilmaril@0
    72
	mainwindow.h \
insilmaril@0
    73
	mapeditor.h \
insilmaril@760
    74
	mapitem.h \
insilmaril@0
    75
	mapobj.h \
insilmaril@0
    76
	misc.h \
insilmaril@788
    77
	mysortfilterproxymodel.h \
insilmaril@0
    78
	noteobj.h \
insilmaril@388
    79
	options.h \
insilmaril@0
    80
	ornamentedobj.h \
insilmaril@432
    81
	parser.h \
insilmaril@0
    82
	process.h \
insilmaril@835
    83
	settings.h \
insilmaril@804
    84
	shortcuts.h\
insilmaril@380
    85
	showtextdialog.h\
insilmaril@432
    86
	simplescripteditor.h\
insilmaril@835
    87
	treeeditor.h \
insilmaril@835
    88
	treeitem.h \
insilmaril@835
    89
	treemodel.h \
insilmaril@0
    90
	texteditor.h \
insilmaril@0
    91
	version.h \
insilmaril@645
    92
	vymmodel.h \
insilmaril@835
    93
	vymview.h \
insilmaril@835
    94
	warningdialog.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
	exportxhtmldialog.cpp \
insilmaril@388
   121
	extrainfodialog.cpp \
insilmaril@179
   122
	file.cpp \
insilmaril@808
   123
	findwidget.cpp \
insilmaril@825
   124
	findresultwidget.cpp \
insilmaril@825
   125
	findresultitem.cpp \
insilmaril@825
   126
	findresultmodel.cpp \
insilmaril@767
   127
	flag.cpp \
insilmaril@0
   128
	flagobj.cpp \
insilmaril@766
   129
	flagrow.cpp \
insilmaril@0
   130
	flagrowobj.cpp \
insilmaril@0
   131
	floatimageobj.cpp \
insilmaril@0
   132
	floatobj.cpp \
insilmaril@0
   133
	frameobj.cpp \
insilmaril@645
   134
	geometry.cpp \
insilmaril@0
   135
	headingobj.cpp \
insilmaril@434
   136
	highlighter.cpp \
insilmaril@380
   137
	historywindow.cpp \
insilmaril@776
   138
	imageitem.cpp \
insilmaril@0
   139
	imageobj.cpp \
insilmaril@205
   140
	imports.cpp \
insilmaril@0
   141
	linkablemapobj.cpp \
insilmaril@0
   142
	main.cpp \
insilmaril@0
   143
	mainwindow.cpp \
insilmaril@0
   144
	mapeditor.cpp \
insilmaril@760
   145
	mapitem.cpp \
insilmaril@0
   146
	mapobj.cpp \
insilmaril@0
   147
	misc.cpp \
insilmaril@788
   148
	mysortfilterproxymodel.cpp \
insilmaril@0
   149
	noteobj.cpp \
insilmaril@388
   150
	options.cpp \
insilmaril@0
   151
	ornamentedobj.cpp \
insilmaril@432
   152
	parser.cpp \
insilmaril@0
   153
	process.cpp \
insilmaril@835
   154
	settings.cpp \
insilmaril@804
   155
	shortcuts.cpp\
insilmaril@380
   156
	showtextdialog.cpp \
insilmaril@432
   157
	simplescripteditor.cpp \
insilmaril@0
   158
	texteditor.cpp \
insilmaril@769
   159
	treeeditor.cpp \
insilmaril@725
   160
	treeitem.cpp \
insilmaril@725
   161
	treemodel.cpp \
insilmaril@395
   162
	version.cpp \
insilmaril@645
   163
	vymmodel.cpp \
insilmaril@835
   164
	vymview.cpp \
insilmaril@835
   165
	warningdialog.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@388
   178
	exportxhtmldialog.ui \
insilmaril@94
   179
	extrainfodialog.ui \
insilmaril@317
   180
	editxlinkdialog.ui \
insilmaril@388
   181
	historywindow.ui \
insilmaril@432
   182
	simplescripteditor.ui \
insilmaril@388
   183
	showtextdialog.ui \
insilmaril@317
   184
	warningdialog.ui
insilmaril@0
   185
insilmaril@625
   186
win32 {
insilmaril@625
   187
	HEADERS += mkdtemp.h
insilmaril@625
   188
	SOURCES += mkdtemp.cpp
insilmaril@625
   189
	RC_FILE = vym.rc
insilmaril@625
   190
}
insilmaril@625
   191
insilmaril@380
   192
#The following lines were inserted by qt3to4
insilmaril@625
   193
QT += xml
insilmaril@366
   194
insilmaril@102
   195
TARGET  = vym
insilmaril@398
   196
insilmaril@102
   197
insilmaril@608
   198
isEmpty( PREFIX ) {
insilmaril@608
   199
	PREFIX = /usr/local
insilmaril@608
   200
	count( INSTALLDIR, 1 ) {
insilmaril@608
   201
		PREFIX = $${INSTALLDIR}
insilmaril@608
   202
		message( "Please use PREFIX instead of INSTALLDIR" )
insilmaril@608
   203
	}
insilmaril@608
   204
}
insilmaril@608
   205
isEmpty( BINDIR ) {
insilmaril@608
   206
	BINDIR = $${PREFIX}/bin
insilmaril@608
   207
}
insilmaril@608
   208
isEmpty( DATADIR ) {
insilmaril@608
   209
	DATADIR = $${PREFIX}/share
insilmaril@608
   210
}
insilmaril@608
   211
isEmpty( DOCDIR ) {
insilmaril@608
   212
	DOCDIR = $${DATADIR}/doc/packages/vym
insilmaril@608
   213
}
insilmaril@360
   214
insilmaril@360
   215
message( "Installation directory" )
insilmaril@608
   216
message( $$PREFIX )
insilmaril@360
   217
insilmaril@360
   218
insilmaril@608
   219
target.path = $${BINDIR}
insilmaril@102
   220
INSTALLS += target
insilmaril@102
   221
insilmaril@702
   222
support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/ demos/
insilmaril@608
   223
support.path = $${DATADIR}/vym
insilmaril@102
   224
INSTALLS += support 
insilmaril@102
   225
insilmaril@625
   226
doc.files = doc/vym.pdf
insilmaril@608
   227
doc.path = $${DOCDIR}
insilmaril@102
   228
INSTALLS += doc
insilmaril@608
   229
DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"
insilmaril@102
   230
insilmaril@791
   231
include(test/modeltest/modeltest.pri)