aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/qt4.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-12-31 14:33:42 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2016-12-31 16:28:15 +0200
commitb55235dfbde37661d24881eb989ee651ed9289c5 (patch)
tree5478d7a8483b30ec38338a0482bb52f8941b746c /mesonbuild/modules/qt4.py
parent504f974204c79a08d17224c2a91582a47c64fe68 (diff)
downloadmeson-b55235dfbde37661d24881eb989ee651ed9289c5.zip
meson-b55235dfbde37661d24881eb989ee651ed9289c5.tar.gz
meson-b55235dfbde37661d24881eb989ee651ed9289c5.tar.bz2
Fix space before :.
Diffstat (limited to 'mesonbuild/modules/qt4.py')
-rw-r--r--mesonbuild/modules/qt4.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/mesonbuild/modules/qt4.py b/mesonbuild/modules/qt4.py
index 8df4f3e..95932d9 100644
--- a/mesonbuild/modules/qt4.py
+++ b/mesonbuild/modules/qt4.py
@@ -127,30 +127,30 @@ class Qt4Module():
else:
basename = os.path.split(rcc_files[0])[1]
name = 'qt4-' + basename.replace('.', '_')
- rcc_kwargs = {'input' : rcc_files,
- 'output' : name + '.cpp',
- 'command' : [self.rcc, '-o', '@OUTPUT@', '@INPUT@'],
- 'depend_files' : qrc_deps,
- }
+ rcc_kwargs = {'input': rcc_files,
+ 'output': name + '.cpp',
+ 'command': [self.rcc, '-o', '@OUTPUT@', '@INPUT@'],
+ 'depend_files': qrc_deps,
+ }
res_target = build.CustomTarget(name, state.subdir, rcc_kwargs)
sources.append(res_target)
if len(ui_files) > 0:
if not self.uic.found():
raise MesonException(err_msg.format('UIC', 'uic-qt4'))
- ui_kwargs = {'output' : 'ui_@BASENAME@.h',
- 'arguments' : ['-o', '@OUTPUT@', '@INPUT@']}
+ ui_kwargs = {'output': 'ui_@BASENAME@.h',
+ 'arguments': ['-o', '@OUTPUT@', '@INPUT@']}
ui_gen = build.Generator([self.uic], ui_kwargs)
ui_output = ui_gen.process_files('Qt4 ui', ui_files, state)
sources.append(ui_output)
if len(moc_headers) > 0:
- moc_kwargs = {'output' : 'moc_@BASENAME@.cpp',
- 'arguments' : ['@INPUT@', '-o', '@OUTPUT@']}
+ moc_kwargs = {'output': 'moc_@BASENAME@.cpp',
+ 'arguments': ['@INPUT@', '-o', '@OUTPUT@']}
moc_gen = build.Generator([self.moc], moc_kwargs)
moc_output = moc_gen.process_files('Qt4 moc header', moc_headers, state)
sources.append(moc_output)
if len(moc_sources) > 0:
- moc_kwargs = {'output' : '@BASENAME@.moc',
- 'arguments' : ['@INPUT@', '-o', '@OUTPUT@']}
+ moc_kwargs = {'output': '@BASENAME@.moc',
+ 'arguments': ['@INPUT@', '-o', '@OUTPUT@']}
moc_gen = build.Generator([self.moc], moc_kwargs)
moc_output = moc_gen.process_files('Qt4 moc source', moc_sources, state)
sources.append(moc_output)