Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Python for QT design studio

Python for QT design studio

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 6.1k Views
  • 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.
  • M Offline
    M Offline
    mckenzy99
    wrote on last edited by
    #1

    Hello, sorry if this is a stupid question but I am learning QT currently and I am a bit confused by all the different programs. For my design I want a quite simply GUI with an image and a few buttons that change that image. Since it is a prototype this could have been done in Figma for instance. However, in the GUI there needs to be a few text boxes where the displayed text is based on data send from a sensor, using MQTT. Therefore I need to have the final GUI in Python/C++ to enable this connection.
    What is completely unclear to me now, is how I can port my design from QT design studio to a python script? From what I understand this should be possible, but I cannot find any documentation on this.

    JonBJ 1 Reply Last reply
    0
    • M mckenzy99

      Hello, sorry if this is a stupid question but I am learning QT currently and I am a bit confused by all the different programs. For my design I want a quite simply GUI with an image and a few buttons that change that image. Since it is a prototype this could have been done in Figma for instance. However, in the GUI there needs to be a few text boxes where the displayed text is based on data send from a sensor, using MQTT. Therefore I need to have the final GUI in Python/C++ to enable this connection.
      What is completely unclear to me now, is how I can port my design from QT design studio to a python script? From what I understand this should be possible, but I cannot find any documentation on this.

      JonBJ Online
      JonBJ Online
      JonB
      wrote on last edited by JonB
      #2

      @mckenzy99
      Somebody asked about this recently. The upshot was: assuming you do mean Design Studio it basically has no support for Python/PySide. You are supposed to export from Design Studio to .qml, then to make a .ui file which you can read into Qt Designer (part of Qt Creator, not the same thing as Design Studio). There you have a Qt project which you can code in Python. If you never meant Design Studio in the first place then you can do your editing in a project in Creator/Designer.

      Something like https://stackoverflow.com/questions/64188695/can-i-export-ui-file-from-qt-design-studio mentions this, though there are other references which I cannot find at the moment.

      1 Reply Last reply
      1
      • JonBJ JonB referenced this topic on

      • Login

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