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. How to convert .py to .ui?
Forum Updated to NodeBB v4.3 + New Features

How to convert .py to .ui?

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 13.4k Views 2 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.
  • K Offline
    K Offline
    kingdelee
    wrote on 3 Mar 2019, 16:17 last edited by
    #1

    Hello, I want to ask you for help.
    mac + python3.7 + qt5 + pycharm

    I know use pycharm set tool:
    0_1551629285822_6661adea-e723-4bca-a827-d6a5d3de96f2-image.png
    can covert .ui to .py by QtDesinger create a .ui.

    But how to covert .py to .ui, so that QtDeinger can reload the new .ui?
    I know someone use windows can use pyrcc5.exe:
    0_1551629579004_9e241c7c-cbd9-4709-af21-4b39359b1bf6-image.png

    But I can't find the pyrcc in mac, and there're not "Script" in "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7"

    I just find this but how to use it to convert .py to .ui?
    0_1551629768446_bbf0c036-83d5-4abe-85e2-b7e78b043678-image.png

    Thank you very much.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      Kent-Dorfman
      wrote on 6 Mar 2019, 08:08 last edited by
      #2

      I'm not aware of any tool to do that. UI is an XML description of the interface. PY is the processed output of that description. I'm not sure anyone has ever identified enough need to go the other direction.

      1 Reply Last reply
      0

      1/2

      3 Mar 2019, 16:17

      • Login

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