1 # vi:filetype=python:expandtab:tabstop=2:shiftwidth=2
5 # This file is part of LyX, the document processor.
6 # Licence details can be found in the file COPYING.
9 # Full author contact details are available in file CREDITS.
14 print "Entering src/frontends/qt4"
18 # local qt4 toolset from
19 # http://www.iua.upf.es/~dgarcia/Codders/sconstools.html
21 # NOTE: I have to patch qt4.py since it does not automatically
22 # process .C file!!! (add to cxx_suffixes )
24 qtenv.Tool('qt4', ['$TOP_SRC_DIR/config'])
25 qtenv.EnableQt4Modules(env['QT_LIB'], debug = False)
27 qtenv.Append(CPPPATH = [
29 '#$BUILDDIR/frontends',
31 '#$BUILDDIR/frontends/controllers',
34 '$QT_INC_PATH/QtCore',
36 '$QT_INC_PATH/Qt3Support',
40 # FIXME: replace by something from pkg_config
41 qtenv.Append(CCFLAGS = [
43 '-DQT_CLEAN_NAMESPACE',
122 moc_files = Split('''
167 QSpellcheckerDialog.C
169 QTabularCreateDialog.C
188 resources = [qtenv.Uic4('ui/' + x) for x in ui_files]
190 source_files = Split('''
254 qt4 = qtenv.StaticLibrary(
255 target = '$LOCALLIBPATH/qt4',
256 LIBS = qtenv['QT_LIB'],
257 source = source_files + moc_files