Results 1 to 2 of 2

Thread: how can i configure shell files

  1. #1
    Join Date
    Jul 2007
    Posts
    2
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default how can i configure shell files

    i wish to configure httpd.conf file by using c++

    i wish to create a small project to configure http server by using GUI programming for this reason i want to configure httpd.conf file through coding and how i can run command like

    #service httpd restart
    #chkconfig httpd on


    if you know please help me

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how can i configure shell files

    For example using POSIX functions like system() or popen(). In Qt there's QProcess class for this kind of job.

  3. The following user says thank you to jacek for this useful post:

    harijibhv (22nd April 2009)

Similar Threads

  1. How to use shell script files ?
    By npc in forum Newbie
    Replies: 3
    Last Post: 15th February 2007, 08:26
  2. Replies: 5
    Last Post: 22nd September 2006, 08:04
  3. [Win32/VC++ 8.0] Strange problems with qrc_*.cpp files
    By mloskot in forum Installation and Deployment
    Replies: 6
    Last Post: 6th March 2006, 10:28

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.