Hi All,
i tried to pass the string UG to my slot void Manuals::on_QRG_clicked(QString UG), so that the process is started. But i got
QMetaObject::connectSlotsByName: No matching signal for on_QRG_clicked(QString) .
My idea is that the string UG is not passed.
Whats wrong?
Manuals::~Manuals()
{
delete ui;
QString UG = "acroread reference.pdf";
}
void Manuals::on_QRG_clicked(QString UG)
{
QProcess acrobat;
acrobat.start(UG);
acrobat.waitForFinished(-1);
}
Thanks alot..
↧