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