Scons: set uic parameter -tr lyx::qt_ properly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16000 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2006-11-20 17:26:26 +00:00
parent 6ed456cfdf
commit 59f15f2d94
2 changed files with 3 additions and 1 deletions

View File

@ -1715,6 +1715,8 @@ if build_qt4:
#
qt4env.Tool('qt4', [scons_dir])
qt4env.EnableQt4Modules(qt_libs, debug = (mode == 'debug'))
qt4env['QT4_AUTOSCAN'] = 0
qt4env['QT4_UICDECLFLAGS'] = '-tr lyx::qt_'
qt4env.AppendUnique(CPPPATH = [
'$BUILDDIR/common',

View File

@ -262,7 +262,7 @@ def generate(env):
#env['QT4_UIC4COM'] = [
# CLVar('$QT4_UIC $QT4_UICDECLFLAGS -o ${TARGETS[0]} $SOURCE'),
# ]
env['QT4_UIC4COM'] = '$QT4_UIC -tr lyx::qt_ -o $TARGET $SOURCE'
env['QT4_UIC4COM'] = '$QT4_UIC $QT4_UICDECLFLAGS -o $TARGET $SOURCE'
uic4builder = Builder(
action='$QT4_UIC4COM',
src_suffix='$QT4_UISUFFIX',