Reputation: 211
I've been using QT Designer to design simple GUI and save as .ui file and then convert it to Python 3 code, But now I've found QT Design Studio which seems so much easier and better. But as I've seen it just create .qml files and it's a little bit harder to work with than .py UI file. Can I export .ui file with QT Design Studio and then convert it to Python 3 code?
Upvotes: 2
Views: 6304
Reputation: 3496
At the first, you must save your file designed as .qml file in QT Design Studio, then open .qml file with QT creator and save as .ui
At the end, you can convert ui file to py file with the below syntax
pyuic5 -o ui_form.py form.ui
Upvotes: 1