|
|
|
@ -529,17 +529,17 @@ class Qt5Dependency(Dependency): |
|
|
|
|
return True |
|
|
|
|
|
|
|
|
|
def get_generate_rules(self): |
|
|
|
|
moc_rule = CustomRule([self.moc.get_command(), '$mocflags', '@INFILE@', '-o', '@OUTFILE@'], |
|
|
|
|
moc_rule = CustomRule([self.moc.get_command(), '$mocargs', '@INFILE@', '-o', '@OUTFILE@'], |
|
|
|
|
'moc_@BASENAME@.cpp', 'moc_headers', 'moc_hdr_compile', |
|
|
|
|
'Compiling header @INFILE@ with the moc preprocessor') |
|
|
|
|
mocsrc_rule = CustomRule([self.moc.get_command(), '$mocflags', '@INFILE@', '-o', '@OUTFILE@'], |
|
|
|
|
mocsrc_rule = CustomRule([self.moc.get_command(), '$mocargs', '@INFILE@', '-o', '@OUTFILE@'], |
|
|
|
|
'@BASENAME@.moc', 'moc_sources', 'moc_src_compile', |
|
|
|
|
'Compiling source @INFILE@ with the moc preprocessor') |
|
|
|
|
ui_rule = CustomRule([self.uic.get_command(), '@INFILE@', '-o', '@OUTFILE@'], |
|
|
|
|
'ui_@BASENAME@.h', 'ui_files', 'ui_compile', |
|
|
|
|
'Compiling @INFILE@ with the ui compiler') |
|
|
|
|
rrc_rule = CustomRule([self.rcc.get_command(), '@INFILE@', '-o', '@OUTFILE@', |
|
|
|
|
'${rcc_flags}'], '@BASENAME@.cpp','qresources', |
|
|
|
|
'${rcc_args}'], '@BASENAME@.cpp','qresources', |
|
|
|
|
'rc_compile', 'Compiling @INFILE@ with the rrc compiler') |
|
|
|
|
return [moc_rule, mocsrc_rule, ui_rule, rrc_rule] |
|
|
|
|
|
|
|
|
|