mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
6ed456cfdf
commit
59f15f2d94
@ -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',
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user