mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-24 10:49:42 +01:00
Issue 1352, changed the default name for qt resources
This commit is contained in:
parent
c4afa5daf1
commit
a1b8eb3831
@ -370,9 +370,12 @@ class rcc(Task.Task):
|
||||
Process *.qrc* files
|
||||
"""
|
||||
color = 'BLUE'
|
||||
run_str = '${QT_RCC} -name ${SRC[0].name} ${SRC[0].abspath()} ${RCC_ST} -o ${TGT}'
|
||||
run_str = '${QT_RCC} -name ${tsk.rcname()} ${SRC[0].abspath()} ${RCC_ST} -o ${TGT}'
|
||||
ext_out = ['.h']
|
||||
|
||||
def rcname(self):
|
||||
return os.path.splitext(self.inputs[0].name)[0]
|
||||
|
||||
def scan(self):
|
||||
"""Parse the *.qrc* files"""
|
||||
node = self.inputs[0]
|
||||
|
Loading…
Reference in New Issue
Block a user