From: vsr Date: Fri, 19 Sep 2008 06:11:39 +0000 (+0000) Subject: Fix problem of compilation without test recorder X-Git-Tag: TG_TRIPOLI_qt4_porting~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b7ea68165664885615a5ef35c8f68dcd87e5560c;p=modules%2Fgui.git Fix problem of compilation without test recorder --- diff --git a/adm_local/unix/make_common_starter.am b/adm_local/unix/make_common_starter.am index f94fb0c28..df75ae408 100644 --- a/adm_local/unix/make_common_starter.am +++ b/adm_local/unix/make_common_starter.am @@ -35,7 +35,7 @@ docdir = $(datadir)/doc/salome # meta object implementation files generation (moc) %_moc.cxx: %.h - $(MOC) $< -o $@ + $(MOC) $(MOC_FLAGS) $< -o $@ # translation (*.qm) files generation (lrelease) %.qm: resources/%.ts diff --git a/src/SUITApp/Makefile.am b/src/SUITApp/Makefile.am index 1e1b85582..5fa2dd43d 100644 --- a/src/SUITApp/Makefile.am +++ b/src/SUITApp/Makefile.am @@ -46,6 +46,7 @@ if ENABLE_TESTRECORDER libSUITApp_la_CPPFLAGS+= $(TESTRECORDER_INCLUDES) else !ENABLE_TESTRECORDER libSUITApp_la_CPPFLAGS+= -DDISABLE_TESTRECORDER + MOC_FLAGS = -DDISABLE_TESTRECORDER endif libSUITApp_la_LDFLAGS = $(QT_MT_LIBS)