Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QProcess, httpd.exe segmant fault
Forum Update on Monday, May 27th 2025

QProcess, httpd.exe segmant fault

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 762 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    xaoseric
    wrote on last edited by
    #1

    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!

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved