I'm trying to port an application from PyQt5 to PySide6 because it's the official bindings (for now I guess). I have a .ui file designed in Qt Designer. It loads fine using PyQt5 uic, but PySide6 gives me the following error:
Designer: An error has occurred while reading the UI file at line 1, column 38: Unsupported XML version.
The first line of that file says:
<?xml version="2.0" encoding="UTF-8"?>
I've tried loading the file dynamically and I've tried to compile the .ui file using pyside6-uic. I get the same error each time.
Why can't PySide6 read my ui file?