2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 09:57:15 +01:00

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

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()