qt-defs.mk: Remove .ui derived .cpp files from MOC_CPP

This commit is contained in:
Jan Lindemann 2007-10-07 14:49:47 +00:00 committed by Jan Lindemann
commit 789ebb3429

View file

@ -49,9 +49,8 @@ MOC_H_HC += $(shell grep -H Q_OBJECT $(wildcard *.h) | cut -d: -f1
endif
MOC_H_UI += $(patsubst %.ui,ui_%.h,$(UIFILES))
MOC_H += $(sort $(MOC_H_HC) $(MOC_H_UI))
MOC_CPP += \
$(patsubst %.ui,moc_%.cpp,$(UIFILES)) \
$(patsubst %.h,moc_%.cpp,$(MOC_H_HC))
MOC_CPP += $(patsubst %.h,moc_%.cpp,$(MOC_H_HC))
# $(patsubst %.ui,moc_%.cpp,$(UIFILES)) \
RCC_CPP += $(patsubst %.qrc,rcc_%.cpp, $(RCCFILES))
ifeq ($(QT_MAJOR_VERSION),4)
UIC_H += $(patsubst %.ui,ui_%.h, $(UIFILES))