mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-25 07:00:39 +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_%.cpp: %.h
|
||||||
$(MOC) -o $@ $<
|
$(MOC) -o $@ $<
|
||||||
else
|
else
|
||||||
moc_%.cpp: %.h
|
moc_%.cpp: ui_%.h
|
||||||
$(MOC) $(filter -D% -I%,$(strip $(CPPFLAGS))) -o $@ $<
|
$(MOC) $(filter -D% -I%,$(strip $(CPPFLAGS))) -o $@ $<
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
@ -17,7 +17,7 @@ endif
|
||||||
$(UIC) $< -o $@
|
$(UIC) $< -o $@
|
||||||
|
|
||||||
ifeq ($(QT_MAJOR_VERSION),4)
|
ifeq ($(QT_MAJOR_VERSION),4)
|
||||||
uic_%.cpp: %.h
|
uic_%.cpp: ui_%.h
|
||||||
echo -e "#include <$<>\n" > $@
|
echo -e "#include <$<>\n" > $@
|
||||||
else
|
else
|
||||||
uic_%.cpp: %.h %.ui
|
uic_%.cpp: %.h %.ui
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue