xaoseric
27th February 2014, 17:28
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"));
http://i.imgur.com/pG9sx0s.png
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"));
http://i.imgur.com/pG9sx0s.png