]> git.lyx.org Git - features.git/commitdiff
make scons cope with renamed ui_*.h
authorAndré Pönitz <poenitz@gmx.net>
Sat, 11 Aug 2007 11:24:17 +0000 (11:24 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Sat, 11 Aug 2007 11:24:17 +0000 (11:24 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19426 a592a061-630c-0410-9148-cb99ea01b6c8

development/scons/SConstruct

index 8dd4252912f47d2487dc2ab84ff93b84c5f72831..162fc034df3143c83846c0b13cb3946bfa4f8ec1 100644 (file)
@@ -1749,7 +1749,7 @@ if build_qt4:
 #    qt4_moced_files = [frontend_env.Moc4(x.replace('.cpp', '_moc.cpp'), \
 #        x.replace('.cpp', '.h')) for x in qt4_moc_files]
 
-    qt4_moced_files = [frontend_env.Moc4("moc_" + x, x.replace('.cpp', '.h')) for x in qt4_moc_files]
+    qt4_moced_files = [frontend_env.Moc4(x.replace('.cpp', '_moc.cpp'), x.replace('.cpp', '.h')) for x in qt4_moc_files]
 
     qt4 = frontend_env.StaticLibrary(
         target = '$LOCALLIBPATH/qt4',