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