Possible reasons for the failure to bind a signal slot

1. Q_OBJECT should be added when the class is declared in the header file.
2. After adding, qmake should be executed once
. 3. Whether the connected slot function is declared as slots:

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=324120796&siteId=291194637