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:
fedepell 2016-06-22 14:07:10 +02:00
parent 6854fae055
commit 585bc1e9a8
1 changed files with 1 additions and 1 deletions

View File

@ -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):