still showing error :
QObject::connect: Cannot connect QLineEdit::textChanged(QString) to (null)::setText(QString)
my dialog.h is
public slots :
public slots :
void seText(QString);
To copy to clipboard, switch view to plain text mode
my dialog.cpp is :
{
ui->qwe->setText("qerr");
}
void Dialog::seText(QString )
{
ui->qwe->setText("qerr");
}
To copy to clipboard, switch view to plain text mode
and my connect function :
connect(ui
->lineEdit,
SIGNAL(textChanged
(QString)), dialog,
SLOT(setText
(QString)));
connect(ui->lineEdit, SIGNAL(textChanged(QString)), dialog, SLOT(setText(QString)));
To copy to clipboard, switch view to plain text mode
Bookmarks