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

Error in uic generated file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: 5.15.1
    • Fix Version/s: None
    • Component/s: Tooling
    • Labels:
      None
    • Platform/s:
      All

      Description

      When I generate a .py file using pyside2-uic with a ui file from designer, there are ints as callables.

      For example, these are two lines that get generated that throw an error:

      self.gridLayout.setSpacing(10())
      self.gridLayout.setMargin(10())

      and the error it generates:

      {{ self.gridLayout.setSpacing(10())}}
      TypeError: 'int' object is not callable

        Attachments

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

          Activity

            People

            Assignee:
            crmaurei Cristian Maureira-Fredes
            Reporter:
            ttftw ttftw
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes