Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-80791

uic python: wrong generated code when using <zorder>

    XMLWordPrintable

Details

    • All
    • b31aef2900478ef463c65dff5a3ea92b8fc047d7 (qt/qtbase/5.14)

    Description

      When a UI file contains:

      <zorder>something</zorder>
      

      running:

      uic -g python file.ui
      

      will generate the code:

      something.raise()
      

      which is valid on C++, but for Python, the function is called raise_() due to the conflict with the reserved Python statement raise.

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            crmaurei Cristian Maureira-Fredes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes