Sep-02-2019, 09:58 AM
(This post was last modified: Sep-02-2019, 09:59 AM by Axel_Erfurt.)
pyuic4 input.ui -o output.py
or
pyuic5 input.ui -o output.py
Quote:Options:
--version show program's version number and exit
-h, --help show this help message and exit
-p, --preview show a preview of the UI instead of generating code
-o FILE, --output=FILE
write generated code to FILE instead of stdout
-x, --execute generate extra code to test and display the class
-d, --debug show debug output
-i N, --indent=N set indent width to N spaces, tab if N is 0 [default:
4]
Code generation options:
--import-from=PACKAGE
generate imports of pyrcc5 generated modules in the
style 'from PACKAGE import ...'
--from-imports the equivalent of '--import-from=.'
--resource-suffix=SUFFIX
append SUFFIX to the basename of resource files
[default: _rc]