I keep getting a segment fault when trying to start httpd.exe using QProcess. Is there any way to start httpd.exe, and control it like xampp does?
this is the code I’m using:
//start httpd
httpd->start("C:/xampp/apache/bin/httpd.exe");
httpd->waitForStarted();
//change button text
ui->apacheStartBtn->setText(tr("Stop"));
//start httpd
httpd->start("C:/xampp/apache/bin/httpd.exe");
httpd->waitForStarted();
//change button text
ui->apacheStartBtn->setText(tr("Stop"));
To copy to clipboard, switch view to plain text mode
Bookmarks