@mailal: Why do you want to convert *.ui-files? You can dynamically load the *.ui-files by using the uic in PyQt5.
Example:
Example:
from PyQt5 import uic, QtWidgets import sys class Ui(QtWidgets.QDialog): def __init__(self): super(Ui, self).__init__() uic.loadUi('SomeUi.ui', self) self.show() if __name__ == '__main__': app = QtWidgets.QApplication(sys.argv) window = Ui() sys.exit(app.exec_())