Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.15.1
-
None
-
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
Linux 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux
Python 3.7.3
Description
When registering a new mandatory field using (in this case) QWizardPage.registerField() the signal name gets cut of.
Example:
A subclassed QWizardPage calling:
self.registerField("nodeName*", self, "selectedNode", "nodeSelectionChanged()")
This ends up trying to connect signal "odeSelectionChanged". Resulting in:
QObject::connect: No such signal Wizard_NodeSelection::odeSelectionChanged()
Attached is test.py to reproduce the issue in Pyside2 and test_pyqt.py for the same thing(but working) in PyQt5.
As a workaround you can put a dummy character in front of the signal name when registering as so:
self.registerField("nodeName*", self, "selectedNode", "ZnodeSelectionChanged()")
And everything will work.
Attachments
Issue Links
- relates to
-
QTBUG-44276 QWizard::registerField missing new signal slot syntax
- Reported