qt-rules.mk: Fix uic generated files

This commit is contained in:
Jan Lindemann 2007-10-04 16:17:15 +00:00 committed by Jan Lindemann
commit fd05d44286

View file

@ -2,7 +2,7 @@ ifeq ($(QT_MAJOR_VERSION),3)
moc_%.cpp: %.h
$(MOC) -o $@ $<
else
moc_%.cpp: %.h
moc_%.cpp: ui_%.h
$(MOC) $(filter -D% -I%,$(strip $(CPPFLAGS))) -o $@ $<
endif
@ -17,7 +17,7 @@ endif
$(UIC) $< -o $@
ifeq ($(QT_MAJOR_VERSION),4)
uic_%.cpp: %.h
uic_%.cpp: ui_%.h
echo -e "#include <$<>\n" > $@
else
uic_%.cpp: %.h %.ui