Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QProcess, httpd.exe segmant fault



  • 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.
    [code]
    //start httpd
    httpd->start("C:/xampp/apache/bin/httpd.exe");
    httpd->waitForStarted();

    //change button text
    ui->apacheStartBtn->setText(tr("Stop"));
    [/code]

    !http://i.imgur.com/pG9sx0s.png!



  • Have you checked that the variable httpd is a non-null, valid pointer?


Log in to reply