Dear Friends I want to run a program(executable) from within my code for that I am doing like this…
Bool TableWidget::saveFileTYK()
{
QString program(“./home/sdh/WindlyzerDev/interpolate_tykâ€);
QProcess *tykprocess = new QProcess(this);
Tykprocess->start(propgram);
connect (tykprocess,SIGNAL(started()),this,SLOT(myslot())) ;
}
void TableWidget::myslot()
{
qDebug() << “program started†<< “\nâ€;
}
But here I am not getting the signal started() that means my program is not running can u tell me anyone what could be the problem plss ??
Bookmarks