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. I found an error on the PySide6 documentation website.
Qt 6.11 is out! See what's new in the release blog

I found an error on the PySide6 documentation website.

Scheduled Pinned Locked Moved Unsolved Qt for Python
3 Posts 3 Posters 287 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.
  • N Offline
    N Offline
    novum
    wrote on last edited by
    #1

    The article Which IDEs Are Compatible? tells me to use pyside6-uic -i form.ui -o ui_form.py to generate a python file from a .ui file.
    But when I run the command in the terminal, I get this error:

    uic: Unknown option 'i'.
    'path/to/.venv/lib/python3.12/site-packages/PySide6/Qt/libexec/uic -g python -i MainWindow.ui -o ui_MainWindow.py' returned 1
    

    This command contradicts the instruction in the article pyside6-uic.

    The pyside6-rcc tool has the same problem too.

    Could you please confirm this problem?

    1 Reply Last reply
    1
    • Axel SpoerlA Offline
      Axel SpoerlA Offline
      Axel Spoerl
      Moderators
      wrote on last edited by
      #2

      This is confirmed. uic doesn't have a -i option and the documentation is wrong.
      @Friedemann.Kleint - should be an easy fix.

      Software Engineer
      The Qt Company, Oslo

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

        Yes, https://codereview.qt-project.org/c/pyside/pyside-setup/+/718662

        1 Reply Last reply
        2

        • Login

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