Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2697

pyside2-uic missing "--from-imports" functionality

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.15.2
    • PySide
    • None
    • Pip PySide2 version => 5.15.2.1
    • Windows

    Description

      I migrate a project from pyqt5 to pyside2.

      The pyqt5 script used to convert .ui file to .py file was like this:

      pyuic5 file.ui -o file.py --import-from=Ressources.Images
      

      It seem like the pyside2 version do not work:

      pyside2-uic file.ui -o file.py --import-from=Ressources.Images 

      The "pyuic5 --help" mention this:

      --import-from=PACKAGE
                              generate imports of pyrcc5 generated modules in the
                              style 'from PACKAGE import ...'

      Whereas there is no mention of this option in "pyside2-uic --help"

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              lefevre-dev Louis Lefevre
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes