mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
qt-rules.mk: Fix uic generated files
This commit is contained in:
parent
54dee5b19f
commit
fd05d44286
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue