mirror of https://gitlab.com/ita1024/waf.git
qt5: uic generation task, use node.parent insted of self.path otherwise the path gets lost and all ui_XXX.h get generated on top level build directory which may also
lead to name clashes
This commit is contained in:
parent
6854fae055
commit
585bc1e9a8
|
@ -299,7 +299,7 @@ def create_rcc_task(self, node):
|
|||
def create_uic_task(self, node):
|
||||
"hook for uic tasks"
|
||||
uictask = self.create_task('ui5', node)
|
||||
uictask.outputs = [self.path.find_or_declare(self.env['ui_PATTERN'] % node.name[:-3])]
|
||||
uictask.outputs = [node.parent.find_or_declare(self.env['ui_PATTERN'] % node.name[:-3])]
|
||||
|
||||
@extension('.ts')
|
||||
def add_lang(self, node):
|
||||
|
|
Loading…
Reference in New Issue