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