author | insilmaril |
Thu, 25 Feb 2010 11:03:52 +0000 | |
changeset 824 | 36eb4b8f409e |
parent 823 | 0bba81dde1bc |
child 825 | 1ad892c1a709 |
permissions | -rw-r--r-- |
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@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@767 | 54 |
flag.h \ |
insilmaril@0 | 55 |
flagobj.h \ |
insilmaril@0 | 56 |
flagrowobj.h \ |
insilmaril@766 | 57 |
flagrow.h \ |
insilmaril@0 | 58 |
floatimageobj.h \ |
insilmaril@0 | 59 |
floatobj.h \ |
insilmaril@0 | 60 |
frameobj.h \ |
insilmaril@645 | 61 |
geometry.h \ |
insilmaril@0 | 62 |
headingobj.h \ |
insilmaril@434 | 63 |
highlighter.h \ |
insilmaril@380 | 64 |
historywindow.h \ |
insilmaril@776 | 65 |
imageitem.h \ |
insilmaril@0 | 66 |
imageobj.h \ |
insilmaril@205 | 67 |
imports.h \ |
insilmaril@0 | 68 |
linkablemapobj.h \ |
insilmaril@0 | 69 |
mainwindow.h \ |
insilmaril@0 | 70 |
mapeditor.h \ |
insilmaril@760 | 71 |
mapitem.h \ |
insilmaril@0 | 72 |
mapobj.h \ |
insilmaril@0 | 73 |
misc.h \ |
insilmaril@788 | 74 |
mysortfilterproxymodel.h \ |
insilmaril@0 | 75 |
noteobj.h \ |
insilmaril@388 | 76 |
options.h \ |
insilmaril@0 | 77 |
ornamentedobj.h \ |
insilmaril@432 | 78 |
parser.h \ |
insilmaril@0 | 79 |
process.h \ |
insilmaril@804 | 80 |
shortcuts.h\ |
insilmaril@380 | 81 |
showtextdialog.h\ |
insilmaril@432 | 82 |
simplescripteditor.h\ |
insilmaril@0 | 83 |
texteditor.h \ |
insilmaril@769 | 84 |
treeeditor.h \ |
insilmaril@0 | 85 |
version.h \ |
insilmaril@645 | 86 |
vymmodel.h \ |
insilmaril@790 | 87 |
xlinkitem.h \ |
insilmaril@620 | 88 |
xlinkobj.h \ |
insilmaril@574 | 89 |
xml-base.h \ |
insilmaril@574 | 90 |
xml-vym.h \ |
insilmaril@566 | 91 |
xml-freemind.h \ |
insilmaril@620 | 92 |
xmlobj.h\ |
insilmaril@205 | 93 |
xsltproc.h \ |
insilmaril@0 | 94 |
settings.h \ |
insilmaril@725 | 95 |
treeitem.h \ |
insilmaril@725 | 96 |
treemodel.h \ |
insilmaril@726 | 97 |
vymview.h \ |
insilmaril@388 | 98 |
warningdialog.h |
insilmaril@102 | 99 |
|
insilmaril@388 | 100 |
SOURCES += \ |
insilmaril@388 | 101 |
aboutdialog.cpp \ |
insilmaril@784 | 102 |
adaptormodel.cpp \ |
insilmaril@477 | 103 |
animpoint.cpp \ |
insilmaril@620 | 104 |
attribute.cpp \ |
insilmaril@786 | 105 |
attributeitem.cpp \ |
insilmaril@767 | 106 |
# attributedelegate.cpp \ |
insilmaril@767 | 107 |
# attributedialog.cpp \ |
insilmaril@767 | 108 |
# attributewidget.cpp \ |
insilmaril@746 | 109 |
branchitem.cpp \ |
insilmaril@105 | 110 |
branchobj.cpp \ |
insilmaril@423 | 111 |
branchpropwindow.cpp \ |
insilmaril@823 | 112 |
bugagent.cpp \ |
insilmaril@388 | 113 |
editxlinkdialog.cpp \ |
insilmaril@191 | 114 |
exportoofiledialog.cpp \ |
insilmaril@0 | 115 |
exports.cpp \ |
insilmaril@824 | 116 |
exporthtmldialog.cpp \ |
insilmaril@388 | 117 |
exportxhtmldialog.cpp \ |
insilmaril@388 | 118 |
extrainfodialog.cpp \ |
insilmaril@179 | 119 |
file.cpp \ |
insilmaril@808 | 120 |
findwidget.cpp \ |
insilmaril@767 | 121 |
flag.cpp \ |
insilmaril@0 | 122 |
flagobj.cpp \ |
insilmaril@766 | 123 |
flagrow.cpp \ |
insilmaril@0 | 124 |
flagrowobj.cpp \ |
insilmaril@0 | 125 |
floatimageobj.cpp \ |
insilmaril@0 | 126 |
floatobj.cpp \ |
insilmaril@0 | 127 |
frameobj.cpp \ |
insilmaril@645 | 128 |
geometry.cpp \ |
insilmaril@0 | 129 |
headingobj.cpp \ |
insilmaril@434 | 130 |
highlighter.cpp \ |
insilmaril@380 | 131 |
historywindow.cpp \ |
insilmaril@776 | 132 |
imageitem.cpp \ |
insilmaril@0 | 133 |
imageobj.cpp \ |
insilmaril@205 | 134 |
imports.cpp \ |
insilmaril@0 | 135 |
linkablemapobj.cpp \ |
insilmaril@0 | 136 |
main.cpp \ |
insilmaril@0 | 137 |
mainwindow.cpp \ |
insilmaril@0 | 138 |
mapeditor.cpp \ |
insilmaril@760 | 139 |
mapitem.cpp \ |
insilmaril@0 | 140 |
mapobj.cpp \ |
insilmaril@0 | 141 |
misc.cpp \ |
insilmaril@788 | 142 |
mysortfilterproxymodel.cpp \ |
insilmaril@0 | 143 |
noteobj.cpp \ |
insilmaril@388 | 144 |
options.cpp \ |
insilmaril@0 | 145 |
ornamentedobj.cpp \ |
insilmaril@432 | 146 |
parser.cpp \ |
insilmaril@0 | 147 |
process.cpp \ |
insilmaril@804 | 148 |
shortcuts.cpp\ |
insilmaril@380 | 149 |
showtextdialog.cpp \ |
insilmaril@432 | 150 |
simplescripteditor.cpp \ |
insilmaril@0 | 151 |
texteditor.cpp \ |
insilmaril@769 | 152 |
treeeditor.cpp \ |
insilmaril@725 | 153 |
treeitem.cpp \ |
insilmaril@725 | 154 |
treemodel.cpp \ |
insilmaril@395 | 155 |
version.cpp \ |
insilmaril@645 | 156 |
vymmodel.cpp \ |
insilmaril@790 | 157 |
xlinkitem.cpp \ |
insilmaril@620 | 158 |
xlinkobj.cpp \ |
insilmaril@574 | 159 |
xml-base.cpp \ |
insilmaril@574 | 160 |
xml-vym.cpp \ |
insilmaril@566 | 161 |
xml-freemind.cpp \ |
insilmaril@620 | 162 |
xmlobj.cpp \ |
insilmaril@205 | 163 |
xsltproc.cpp \ |
insilmaril@0 | 164 |
settings.cpp \ |
insilmaril@726 | 165 |
vymview.cpp \ |
insilmaril@625 | 166 |
warningdialog.cpp |
insilmaril@102 | 167 |
|
insilmaril@388 | 168 |
FORMS = \ |
insilmaril@625 | 169 |
attributewidget.ui \ |
insilmaril@423 | 170 |
branchpropwindow.ui \ |
insilmaril@824 | 171 |
exporthtmldialog.ui \ |
insilmaril@388 | 172 |
exportxhtmldialog.ui \ |
insilmaril@94 | 173 |
extrainfodialog.ui \ |
insilmaril@317 | 174 |
editxlinkdialog.ui \ |
insilmaril@388 | 175 |
historywindow.ui \ |
insilmaril@432 | 176 |
simplescripteditor.ui \ |
insilmaril@388 | 177 |
showtextdialog.ui \ |
insilmaril@317 | 178 |
warningdialog.ui |
insilmaril@0 | 179 |
|
insilmaril@625 | 180 |
win32 { |
insilmaril@625 | 181 |
HEADERS += mkdtemp.h |
insilmaril@625 | 182 |
SOURCES += mkdtemp.cpp |
insilmaril@625 | 183 |
RC_FILE = vym.rc |
insilmaril@625 | 184 |
} |
insilmaril@625 | 185 |
|
insilmaril@380 | 186 |
#The following lines were inserted by qt3to4 |
insilmaril@625 | 187 |
QT += xml |
insilmaril@366 | 188 |
|
insilmaril@102 | 189 |
TARGET = vym |
insilmaril@398 | 190 |
|
insilmaril@102 | 191 |
|
insilmaril@608 | 192 |
isEmpty( PREFIX ) { |
insilmaril@608 | 193 |
PREFIX = /usr/local |
insilmaril@608 | 194 |
count( INSTALLDIR, 1 ) { |
insilmaril@608 | 195 |
PREFIX = $${INSTALLDIR} |
insilmaril@608 | 196 |
message( "Please use PREFIX instead of INSTALLDIR" ) |
insilmaril@608 | 197 |
} |
insilmaril@608 | 198 |
} |
insilmaril@608 | 199 |
isEmpty( BINDIR ) { |
insilmaril@608 | 200 |
BINDIR = $${PREFIX}/bin |
insilmaril@608 | 201 |
} |
insilmaril@608 | 202 |
isEmpty( DATADIR ) { |
insilmaril@608 | 203 |
DATADIR = $${PREFIX}/share |
insilmaril@608 | 204 |
} |
insilmaril@608 | 205 |
isEmpty( DOCDIR ) { |
insilmaril@608 | 206 |
DOCDIR = $${DATADIR}/doc/packages/vym |
insilmaril@608 | 207 |
} |
insilmaril@360 | 208 |
|
insilmaril@360 | 209 |
message( "Installation directory" ) |
insilmaril@608 | 210 |
message( $$PREFIX ) |
insilmaril@360 | 211 |
|
insilmaril@360 | 212 |
|
insilmaril@608 | 213 |
target.path = $${BINDIR} |
insilmaril@102 | 214 |
INSTALLS += target |
insilmaril@102 | 215 |
|
insilmaril@702 | 216 |
support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/ demos/ |
insilmaril@608 | 217 |
support.path = $${DATADIR}/vym |
insilmaril@102 | 218 |
INSTALLS += support |
insilmaril@102 | 219 |
|
insilmaril@625 | 220 |
doc.files = doc/vym.pdf |
insilmaril@608 | 221 |
doc.path = $${DOCDIR} |
insilmaril@102 | 222 |
INSTALLS += doc |
insilmaril@608 | 223 |
DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\" |
insilmaril@102 | 224 |
|
insilmaril@791 | 225 |
include(test/modeltest/modeltest.pri) |