mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
qt-defs.mk: Fix definitions for uic and moc generated files (MOC_H_UI MOC_CPP)
This commit is contained in:
parent
ffd06aef9c
commit
54dee5b19f
1 changed files with 2 additions and 2 deletions
|
|
@ -47,9 +47,9 @@ RCCFILES += $(wildcard *.qrc)
|
|||
ifneq ($(wildcard *.h),)
|
||||
MOC_H_HC += $(shell grep -H Q_OBJECT $(wildcard *.h) | cut -d: -f1 | sort -u)
|
||||
endif
|
||||
MOC_H_UI += $(patsubst %.ui,%.h,$(UIFILES))
|
||||
MOC_H_UI += $(patsubst %.ui,ui_%.h,$(UIFILES))
|
||||
MOC_H += $(sort $(MOC_H_HC) $(MOC_H_UI))
|
||||
MOC_CPP += $(patsubst %.h,moc_%.cpp, $(MOC_H))
|
||||
MOC_CPP += $(patsubst %.ui,moc_%.cpp, $(UIFILES))
|
||||
RCC_CPP += $(patsubst %.qrc,rcc_%.cpp, $(RCCFILES))
|
||||
ifeq ($(QT_MAJOR_VERSION),4)
|
||||
UIC_H += $(patsubst %.ui,ui_%.h, $(UIFILES))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue