⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)
No matching function for call to 'QObject::connect(QTimer*&, const char*, RArrow*, const char*) (solved)
-
I don't seem to able to find the problem. Please help
public slots:
void toggleState();== RArrow constructor ==
timer = new QTimer();
QObject:: connect(timer, SIGNAL(timeout()), this, SLOT(toggleState()));void RArrow::toggleState()
{ state = !state;
}
-
@houmingc said:
RArrow
Is your class RArrow inherited from QObject ? Most probably you missed inheriting it.