qt-defs.mk: Fix last fix

This commit is contained in:
Jan Lindemann 2007-10-05 15:10:17 +00:00 committed by Jan Lindemann
commit 5c9d764977

View file

@ -49,7 +49,9 @@ 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))
MOC_CPP += \
$(patsubst %.ui,moc_%.cpp,$(UIFILES)) \
$(patsubst %.h,moc_%.cpp,$(MOC_H_HC))
RCC_CPP += $(patsubst %.qrc,rcc_%.cpp, $(RCCFILES))
ifeq ($(QT_MAJOR_VERSION),4)
UIC_H += $(patsubst %.ui,ui_%.h, $(UIFILES))