Search code examples
qtqt-designer

Are .ui files from qt compatible with both python and c++?


I have been working with QT UIs and python for a while now. I have been wondering, if the .ui files that are generated when using the qt-creator or qt-designer are compatible with both python and c++? I mean it is just some simple xml syntax right?


Solution

  • So the answer, that I was looking for: Yes .ui files are compatible. They are simple xml syntax files and simply contain the structure of your designed user interface.

    Depending on your programming lagnuage, the xml file is parsed, so that you can use it.