mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-12-25 18:46:10 +01:00
Issue #1047
This commit is contained in:
parent
df22b83466
commit
58bff6569c
@ -36,7 +36,7 @@ class cxx_qt(waflib.Tools.cxx.cxx):
|
||||
for x in [self.inputs[0]] + deps:
|
||||
if x.read().find('Q_OBJECT') > 0:
|
||||
|
||||
cxx_node = x.parent.get_bld().make_node(x.name.replace('.', '_') + '_moc.cpp')
|
||||
cxx_node = x.parent.get_bld().make_node(x.name.replace('.', '_') + '_%d_moc.cpp' % self.generator.idx)
|
||||
if cxx_node in cache:
|
||||
continue
|
||||
cache[cxx_node] = self
|
||||
|
Loading…
Reference in New Issue
Block a user