View Single Post
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#3
Done.
It's not the most exciting screenshot ever.

Can anybody help with my buttons, would there be a reason why these slots would not work?

Code:
void MainWindow::on_pushButtonStart_clicked()
{
    QProcess process;
    process.start("sh /opt/tenminutecore/script/tenminutecore.sh");
}

void MainWindow::on_pushButtonStop_clicked()
{
    QProcess process;
    process.start("sh /opt/tenminutecore/script/kill.sh");
    process.waitForFinished();
}
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following 4 Users Say Thank You to sixwheeledbeast For This Useful Post: