mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 21:05:12 +00:00
fix scons, telling scons how to moc files is still needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19541 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
54bc047c85
commit
9f77f2a39a
@ -1728,6 +1728,15 @@ if build_qt4:
|
|||||||
env.BuildDir('$BUILDDIR/$frontend', '$TOP_SRCDIR/src/frontend/$frontend', duplicate = 0)
|
env.BuildDir('$BUILDDIR/$frontend', '$TOP_SRCDIR/src/frontend/$frontend', duplicate = 0)
|
||||||
|
|
||||||
print "Processing files in src/frontends/qt4..."
|
print "Processing files in src/frontends/qt4..."
|
||||||
|
frontend_env['QT4_MOCHPREFIX'] = ''
|
||||||
|
frontend_env['QT4_MOCHSUFFIX'] = '_moc.cpp'
|
||||||
|
|
||||||
|
# tells scons how to get these moced files, although not all moced files are needed
|
||||||
|
# (or are actually generated).
|
||||||
|
qt4_moced_files = [frontend_env.Moc4('$BUILDDIR/common/frontends/qt4/%s' % x)
|
||||||
|
for x in src_frontends_qt4_header_files ]
|
||||||
|
resources = [frontend_env.Uic4('$BUILDDIR/common/frontends/qt4/ui/%s' % x.split('.')[0])
|
||||||
|
for x in src_frontends_qt4_ui_files]
|
||||||
|
|
||||||
#
|
#
|
||||||
# moc qt4_moc_files, the moced files are included in the original files
|
# moc qt4_moc_files, the moced files are included in the original files
|
||||||
|
Loading…
Reference in New Issue
Block a user