aboutsummaryrefslogtreecommitdiff
path: root/dependencies.py
diff options
context:
space:
mode:
Diffstat (limited to 'dependencies.py')
-rw-r--r--dependencies.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/dependencies.py b/dependencies.py
index d14f68c..88051db 100644
--- a/dependencies.py
+++ b/dependencies.py
@@ -331,9 +331,12 @@ class Qt5Dependency(Dependency):
def get_generate_rules(self):
moc_rule = CustomRule([self.moc.get_command(), '@INFILE@', '-o', '@OUTFILE@'],
- 'moc_%BASENAME%.cpp','moc_headers', 'moc_compile',
+ 'moc_%BASENAME%.cpp', 'moc_headers', 'moc_compile',
'Compiling @INFILE@ with the moc preprocessor')
- return [moc_rule]
+ ui_rule = CustomRule([self.uic.get_command(), '@INFILE@', '-o', '@OUTFILE@'],
+ 'ui_%BASENAME%.h', 'ui_files', 'ui_compile',
+ 'Compiling @INFILE@ with the ui compiler')
+ return [moc_rule, ui_rule]
def get_dep_identifier(name, kwargs):