vym.pro
author insilmaril
Thu, 10 Dec 2009 17:04:48 +0000
changeset 816 3086ee01554a
parent 815 2881c4424190
child 823 0bba81dde1bc
permissions -rw-r--r--
minor fixes
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@767
     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@388
    44
	editxlinkdialog.h \
insilmaril@191
    45
	exportoofiledialog.h \
insilmaril@388
    46
	exportxhtmldialog.h\
insilmaril@0
    47
	exports.h \
insilmaril@388
    48
	extrainfodialog.h \
insilmaril@179
    49
	file.h \
insilmaril@808
    50
	findwidget.h \
insilmaril@767
    51
	flag.h \
insilmaril@0
    52
	flagobj.h \
insilmaril@0
    53
	flagrowobj.h \
insilmaril@766
    54
	flagrow.h \
insilmaril@0
    55
	floatimageobj.h \
insilmaril@0
    56
	floatobj.h \
insilmaril@0
    57
	frameobj.h \
insilmaril@645
    58
	geometry.h \
insilmaril@0
    59
	headingobj.h \
insilmaril@434
    60
	highlighter.h \
insilmaril@380
    61
	historywindow.h \
insilmaril@776
    62
	imageitem.h \
insilmaril@0
    63
	imageobj.h \
insilmaril@205
    64
	imports.h \
insilmaril@0
    65
	linkablemapobj.h \
insilmaril@0
    66
	mainwindow.h \
insilmaril@0
    67
	mapeditor.h \
insilmaril@760
    68
	mapitem.h \
insilmaril@0
    69
	mapobj.h \
insilmaril@0
    70
	misc.h \
insilmaril@788
    71
	mysortfilterproxymodel.h \
insilmaril@0
    72
	noteobj.h \
insilmaril@388
    73
	options.h \
insilmaril@0
    74
	ornamentedobj.h \
insilmaril@432
    75
	parser.h \
insilmaril@0
    76
	process.h \
insilmaril@804
    77
	shortcuts.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@808
   115
	findwidget.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@804
   143
	shortcuts.cpp\
insilmaril@380
   144
	showtextdialog.cpp \
insilmaril@432
   145
	simplescripteditor.cpp \
insilmaril@0
   146
	texteditor.cpp \
insilmaril@769
   147
	treeeditor.cpp \
insilmaril@725
   148
	treeitem.cpp \
insilmaril@725
   149
	treemodel.cpp \
insilmaril@395
   150
	version.cpp \
insilmaril@645
   151
	vymmodel.cpp \
insilmaril@790
   152
	xlinkitem.cpp \
insilmaril@620
   153
	xlinkobj.cpp \
insilmaril@574
   154
	xml-base.cpp \
insilmaril@574
   155
	xml-vym.cpp \
insilmaril@566
   156
	xml-freemind.cpp \
insilmaril@620
   157
	xmlobj.cpp \
insilmaril@205
   158
	xsltproc.cpp \
insilmaril@0
   159
	settings.cpp \
insilmaril@726
   160
	vymview.cpp \
insilmaril@625
   161
	warningdialog.cpp
insilmaril@102
   162
insilmaril@388
   163
FORMS = \
insilmaril@625
   164
	attributewidget.ui \
insilmaril@423
   165
	branchpropwindow.ui \
insilmaril@388
   166
	exportxhtmldialog.ui \
insilmaril@94
   167
	extrainfodialog.ui \
insilmaril@317
   168
	editxlinkdialog.ui \
insilmaril@388
   169
	historywindow.ui \
insilmaril@432
   170
	simplescripteditor.ui \
insilmaril@388
   171
	showtextdialog.ui \
insilmaril@317
   172
	warningdialog.ui
insilmaril@0
   173
insilmaril@625
   174
win32 {
insilmaril@625
   175
	HEADERS += mkdtemp.h
insilmaril@625
   176
	SOURCES += mkdtemp.cpp
insilmaril@625
   177
	RC_FILE = vym.rc
insilmaril@625
   178
}
insilmaril@625
   179
insilmaril@380
   180
#The following lines were inserted by qt3to4
insilmaril@625
   181
QT += xml
insilmaril@366
   182
insilmaril@102
   183
TARGET  = vym
insilmaril@398
   184
insilmaril@102
   185
insilmaril@608
   186
isEmpty( PREFIX ) {
insilmaril@608
   187
	PREFIX = /usr/local
insilmaril@608
   188
	count( INSTALLDIR, 1 ) {
insilmaril@608
   189
		PREFIX = $${INSTALLDIR}
insilmaril@608
   190
		message( "Please use PREFIX instead of INSTALLDIR" )
insilmaril@608
   191
	}
insilmaril@608
   192
}
insilmaril@608
   193
isEmpty( BINDIR ) {
insilmaril@608
   194
	BINDIR = $${PREFIX}/bin
insilmaril@608
   195
}
insilmaril@608
   196
isEmpty( DATADIR ) {
insilmaril@608
   197
	DATADIR = $${PREFIX}/share
insilmaril@608
   198
}
insilmaril@608
   199
isEmpty( DOCDIR ) {
insilmaril@608
   200
	DOCDIR = $${DATADIR}/doc/packages/vym
insilmaril@608
   201
}
insilmaril@360
   202
insilmaril@360
   203
message( "Installation directory" )
insilmaril@608
   204
message( $$PREFIX )
insilmaril@360
   205
insilmaril@360
   206
insilmaril@608
   207
target.path = $${BINDIR}
insilmaril@102
   208
INSTALLS += target
insilmaril@102
   209
insilmaril@702
   210
support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/ demos/
insilmaril@608
   211
support.path = $${DATADIR}/vym
insilmaril@102
   212
INSTALLS += support 
insilmaril@102
   213
insilmaril@625
   214
doc.files = doc/vym.pdf
insilmaril@608
   215
doc.path = $${DOCDIR}
insilmaril@102
   216
INSTALLS += doc
insilmaril@608
   217
DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"
insilmaril@102
   218
insilmaril@791
   219
include(test/modeltest/modeltest.pri)