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