mirror of https://gitlab.com/ita1024/waf.git
qt5: ignore moc generation on uninstall target
This commit is contained in:
parent
e902e7a505
commit
a2589b9ed4
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue