diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-04-01 18:43:03 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-04-01 18:43:03 +0300 |
| commit | 6cf0182037ffd2cfdd8a4797deee73938b839592 (patch) | |
| tree | 2518d40d0b9aa02ac94c20cfed516aaf4b6716f7 /dependencies.py | |
| parent | 8f63a4ff811c0d2e3e7901e6c62454431ec2fcc1 (diff) | |
| download | meson-6cf0182037ffd2cfdd8a4797deee73938b839592.tar.gz | |
Can generate sources with moc and uic.
Diffstat (limited to 'dependencies.py')
| -rw-r--r-- | dependencies.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dependencies.py b/dependencies.py index 88051db15..7f70aa82f 100644 --- a/dependencies.py +++ b/dependencies.py @@ -331,10 +331,10 @@ 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') ui_rule = CustomRule([self.uic.get_command(), '@INFILE@', '-o', '@OUTFILE@'], - 'ui_%BASENAME%.h', 'ui_files', 'ui_compile', + 'ui_@BASENAME@.h', 'ui_files', 'ui_compile', 'Compiling @INFILE@ with the ui compiler') return [moc_rule, ui_rule] |
