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