Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Python code for .ui file

Python code for .ui file

Scheduled Pinned Locked Moved Unsolved Qt for Python
3 Posts 3 Posters 678 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gator
    wrote on last edited by
    #1

    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.

    jsulmJ 1 Reply Last reply
    0
    • G Gator

      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.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Gator You need to execute the pyuic tool, see https://stackoverflow.com/questions/18429452/convert-pyqt-ui-to-python

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      4
      • F Offline
        F Offline
        friedemannkleint
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        4

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved