vym.pro
author insilmaril
Wed, 03 Jun 2009 20:37:17 +0000
changeset 775 6e4b586aa88a
parent 773 340bc29da9a0
child 776 25e634a7e1dc
permissions -rw-r--r--
Unscrolling temporary works again
     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 	mapeditor.h \
    67 	mapitem.h \
    68 	mapobj.h \
    69 	misc.h \
    70 	noteobj.h \
    71 	options.h \
    72 	ornamentedobj.h \
    73 	parser.h \
    74 	process.h \
    75 	showtextdialog.h\
    76 	simplescripteditor.h\
    77 	texteditor.h \
    78 	treeeditor.h \
    79 	version.h \
    80 	vymmodel.h \
    81 	xlinkobj.h \
    82 	xml-base.h \
    83 	xml-vym.h \
    84 	xml-freemind.h \
    85 	xmlobj.h\
    86 	xsltproc.h \
    87 	settings.h \
    88 	treeitem.h \
    89 	treemodel.h \
    90 	vymview.h \
    91 	warningdialog.h
    92 
    93 SOURCES	+= \
    94 	aboutdialog.cpp \
    95 	animpoint.cpp \
    96 	attribute.cpp \
    97 #	attributedelegate.cpp \
    98 #	attributedialog.cpp \
    99 #	attributewidget.cpp \
   100 	branchitem.cpp \
   101 	branchobj.cpp \
   102 	branchpropwindow.cpp \
   103 	editxlinkdialog.cpp \
   104 	exportoofiledialog.cpp \
   105 	exports.cpp \
   106 	exportxhtmldialog.cpp \
   107 	extrainfodialog.cpp \
   108 	file.cpp \
   109 	findwindow.cpp \
   110 	flag.cpp \
   111 	flagobj.cpp \
   112 	flagrow.cpp \
   113 	flagrowobj.cpp \
   114 	floatimageobj.cpp \
   115 	floatobj.cpp \
   116 	frameobj.cpp \
   117 	geometry.cpp \
   118 	headingobj.cpp \
   119 	highlighter.cpp \
   120 	historywindow.cpp \
   121 	imageobj.cpp \
   122 	imports.cpp \
   123 	linkablemapobj.cpp \
   124 	main.cpp \
   125 	mainwindow.cpp \
   126 	mapeditor.cpp \
   127 	mapitem.cpp \
   128 	mapobj.cpp \
   129 	misc.cpp \
   130 	noteobj.cpp \
   131 	options.cpp \
   132 	ornamentedobj.cpp \
   133 	parser.cpp \
   134 	process.cpp \
   135 	showtextdialog.cpp \
   136 	simplescripteditor.cpp \
   137 	texteditor.cpp \
   138 	treeeditor.cpp \
   139 	treeitem.cpp \
   140 	treemodel.cpp \
   141 	version.cpp \
   142 	vymmodel.cpp \
   143 	xlinkobj.cpp \
   144 	xml-base.cpp \
   145 	xml-vym.cpp \
   146 	xml-freemind.cpp \
   147 	xmlobj.cpp \
   148 	xsltproc.cpp \
   149 	settings.cpp \
   150 	vymview.cpp \
   151 	warningdialog.cpp
   152 
   153 FORMS = \
   154 	attributewidget.ui \
   155 	branchpropwindow.ui \
   156 	exportxhtmldialog.ui \
   157 	extrainfodialog.ui \
   158 	editxlinkdialog.ui \
   159 	historywindow.ui \
   160 	simplescripteditor.ui \
   161 	showtextdialog.ui \
   162 	warningdialog.ui
   163 
   164 win32 {
   165 	HEADERS += mkdtemp.h
   166 	SOURCES += mkdtemp.cpp
   167 	RC_FILE = vym.rc
   168 }
   169 
   170 #The following lines were inserted by qt3to4
   171 QT += xml
   172 
   173 TARGET  = vym
   174 
   175 
   176 isEmpty( PREFIX ) {
   177 	PREFIX = /usr/local
   178 	count( INSTALLDIR, 1 ) {
   179 		PREFIX = $${INSTALLDIR}
   180 		message( "Please use PREFIX instead of INSTALLDIR" )
   181 	}
   182 }
   183 isEmpty( BINDIR ) {
   184 	BINDIR = $${PREFIX}/bin
   185 }
   186 isEmpty( DATADIR ) {
   187 	DATADIR = $${PREFIX}/share
   188 }
   189 isEmpty( DOCDIR ) {
   190 	DOCDIR = $${DATADIR}/doc/packages/vym
   191 }
   192 
   193 message( "Installation directory" )
   194 message( $$PREFIX )
   195 
   196 
   197 target.path = $${BINDIR}
   198 INSTALLS += target
   199 
   200 support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/ demos/
   201 support.path = $${DATADIR}/vym
   202 INSTALLS += support 
   203 
   204 doc.files = doc/vym.pdf
   205 doc.path = $${DOCDIR}
   206 INSTALLS += doc
   207 DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"
   208