diff options
Diffstat (limited to 'sources/pyside-tools/pyside_tool.py')
-rw-r--r-- | sources/pyside-tools/pyside_tool.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sources/pyside-tools/pyside_tool.py b/sources/pyside-tools/pyside_tool.py index 8e4d1aac7..e23921dd4 100644 --- a/sources/pyside-tools/pyside_tool.py +++ b/sources/pyside-tools/pyside_tool.py @@ -69,7 +69,12 @@ def uic(): def rcc(): - qt_tool_wrapper("rcc", ['-g', 'python'] + sys.argv[1:], True) + args = [] + user_args = sys.argv[1:] + if "--binary" not in user_args: + args.extend(['-g', 'python']) + args.extend(user_args) + qt_tool_wrapper("rcc", args, True) def qmltyperegistrar(): |