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

buttonGroup fails with latest pysideuic

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Other
    • Labels:
      None
    • Commits:
      844430acee4653d2758c621fb26513141b22e162

      Description

      when building a python file from a qtdesigner file with a button Group, pysideuic2 fails.

      line 214 in uiparser.py attempts to get a string from the buttonGroup, seems it is a string already...

      so I added a isinstance check against string ... then it seemed to work here.

      all the best

      johannes

        Attachments

        1. a_test.py
          2 kB
        2. a_test.ui
          1 kB
        3. pysideuicbug.JPG
          pysideuicbug.JPG
          164 kB

          Issue Links

          For Gerrit Dashboard: PYSIDE-658
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              crmaurei Cristian Maureira-Fredes
              Reporter:
              nebukadhezer Johannes Hezer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes