defs.mk, exe.mk, rules.mk: Add support for .qrc qt resource files

This commit is contained in:
Jan Lindemann 2005-05-01 02:27:13 +00:00 committed by Jan Lindemann
commit 7afa6c758b
3 changed files with 13 additions and 2 deletions

View file

@ -28,6 +28,9 @@ $(LIBDIR):
moc_%.cpp: %.h
$(MOC) -o $@ $<
rcc_%.cpp: %.qrc
$(RCC) -o $@ $<
%.h: %.ui
$(UIC) $< -o $@
@ -68,7 +71,7 @@ timers_%.h: %.h $(GENERATE_FUNC_TIMERS)
sh $(GENERATE_FUNC_TIMERS) $< $@
ifneq ($(USE_QT),)
$(OBJ): $(UIC_H) $(MOC_H) $(UIC_CPP) $(MOC_CPP)
$(OBJ): $(UIC_H) $(MOC_H) $(UIC_CPP) $(MOC_CPP) $(RCC_CPP)
endif
ifeq ($(USE_PROJECT_LIB),true)
@ -186,6 +189,9 @@ mocclean:
uicclean:
rm -rf $(UIC_CPP) $(UIC_H)
rccclean:
rm -rf $(RCC_CPP)
textclean: doneclean
rm -rf $(TEXTCLEAN) \#*\# .kdbgrc.* .\#*