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