Hi all, Many of you have been asking about working with ui files in a way maintains the cross-binding benefit of Qt.py.
The problem has been that: - a) PySide and PyQt implement the in-memory loading mechanism loadUi() differently and - b) Files compiled via the command-line leave artifacts behind that make it difficult to run the result on another binding. One suggestion was to: 1. Compile to Python via PySide2 2. Convert to cross-compatible Qt.py code afterwards. So that’s what is happening here. - https://github.com/mottosso/Qt.py/pull/132 $ pyside2-uic my_ui.ui -o my_ui.py $ python -m Qt --convert my_ui.py $ cat my_ui_.py What we need now is: 1. Loads of .ui files to test with (if you have a stash, now’s the time to share!) 2. Your feedback on whether this approach is one worth pursuing Let me know what you think! Best, Marcus -- *Marcus Ottosson* [email protected] -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOAjdKbcXmfG1LNSyA514-HC9XC3UkxtXq0fNUb6Nj%2BAJg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
