mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-22 14:10:39 +01:00
defs.mk, exe.mk, rules.mk: Add support for .qrc qt resource files
This commit is contained in:
parent
86740a817f
commit
7afa6c758b
3 changed files with 13 additions and 2 deletions
|
|
@ -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.* .\#*
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue