Bug fixing appears to be extremely hard as code appears to build an object hierarchy and dump this out instead of transforming XML as does C++ uic.
An option might be to extend C++ uic to generate Python.
- is duplicated by
- 
                    PYSIDE-1020 Pyside2-uic does not generate correct Qwebview and QQuickWidgets from UI file -           
- Closed
 
-         
- 
                    PYSIDE-1138 pyside2uic: read/write with encoding utf8 -           
- Closed
 
-         
- relates to
- 
                    PYSIDE-532 "pyside2-uic" Rasterizes SVG Icons, Which Is Bad -         
- Closed
 
-         
- 
                    PYSIDE-824 Need QWebView in Designer and in other solutions (is omitted in current ver) -         
- Closed
 
-         
- 
                    PYSIDE-936 pyside2-uic does not support themed icons -         
- Closed
 
-         
- 
                    PYSIDE-987 UICParser.column_counter missing, throws error -         
- Closed
 
-         
- 
                    PYSIDE-881 pyside2-tools/pyside2uic/icon_cache.py has an unnecessary she-bang -         
- Closed
 
-         
- 
                     PYSIDE-855
        Rewrite pyside-rcc PYSIDE-855
        Rewrite pyside-rcc-         
- Closed
 
-