diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-04-01 18:18:57 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-04-01 18:18:57 +0300 |
commit | 8f63a4ff811c0d2e3e7901e6c62454431ec2fcc1 (patch) | |
tree | 283fc910dca687641162ec75d6e2e23922e9e561 /dependencies.py | |
parent | a869da185f076a81b65ebd55f074a26c6e6b8466 (diff) | |
download | meson-8f63a4ff811c0d2e3e7901e6c62454431ec2fcc1.zip meson-8f63a4ff811c0d2e3e7901e6c62454431ec2fcc1.tar.gz meson-8f63a4ff811c0d2e3e7901e6c62454431ec2fcc1.tar.bz2 |
Ui rule too, and store rules in the backend object.
Diffstat (limited to 'dependencies.py')
-rw-r--r-- | dependencies.py | 7 |
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): |