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

Named slot is not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.13.0, 6.0.0
    • PySide
    • None
    • All

    Description

      In the source code, "name" keyword argument is there and passing it will not raise any error or warning.

      @Slot(name='on_btn_clicked')
      def method1(self):
          ...
      

      But it can't used as same as PyQt5's pyqtSlot. Click the button "btn" will raise this error in the backend:

      RecursionError: maximum recursion depth exceeded while calling a Python object
      

      Is there has a logical bug?

      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
              kmolyuan Tiberium Cozok
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes