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