Answer the question
In order to leave comments, you need to log in
Why doesn't connect work in Qt?
Why is the connection not working? Writes candidate expects 1 argument, 0 providet;
connect(this->findChild<QPlainTextEdit*>("plainTextEdit"),
&QPlainTextEdit::textChanged, this, [=](QString str){
Bus::Instance().setMessage(str.toStdString());
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question