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

pyside-uic unexpected error with theme-only iconset

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 1.2.x
    • PySide
    • Fedora 20 x86_64 / python 2.7.5

    Description

      $ pyside-uic main.ui -o main.py
      An unexpected error occurred.
      Check that you are using the latest version of PySide and report the error to
      http://bugs.openbossa.org, including the ui file used to trigger the error.

      Simplified ui file attached. Note this is the same symptom but different cause to PYSIDE-126. The problem is with an <iconset> element that doesn't contain any text because it only specifies a theme name.

      Also attached is a patch that fixes it. I don't know what would happen in the pre-Qt v4.4 case where _use_fallback ends up False though, if anyone would care about that anymore.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jwelsh Jacob Welsh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: