Python code for .ui file
-
wrote on 20 May 2025, 05:47 last edited by
I've designed and saved .ui file
Where is the python code for that file created in QT Creator or how do I generate it.
All I see is the .ui file itself. -
I've designed and saved .ui file
Where is the python code for that file created in QT Creator or how do I generate it.
All I see is the .ui file itself.@Gator You need to execute the pyuic tool, see https://stackoverflow.com/questions/18429452/convert-pyqt-ui-to-python
-
wrote on 20 May 2025, 12:14 last edited by
See also https://doc.qt.io/qtforpython-6/tutorials/basictutorial/uifiles.html#tutorial-uifiles . If you create a Python project in Qt Creator, it will do this automatically when running the project.
3/3