Merge branch 'qt5_partial_target' into 'master'

qt5: ignore moc generation on uninstall target

See merge request ita1024/waf!2240
This commit is contained in:
ita1024 2019-06-02 06:38:07 +00:00
commit 1de43d82c0
1 changed files with 4 additions and 0 deletions

View File

@ -167,6 +167,10 @@ class qxx(Task.classes['cxx']):
node = self.inputs[0]
bld = self.generator.bld
# on uninstall this is unnecessary and may lead to errors if files needed are generated
if bld.cmd == 'uninstall':
return
try:
# compute the signature once to know if there is a moc file to create
self.signature()