Results 1 to 3 of 3

Thread: system in Qt

  1. #1
    Join Date
    Dec 2007
    Location
    Brazil
    Posts
    61
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    14

    Default system in Qt

    Hi,

    I use the system("shell.sh"); to execute some shell or programs, but it would like to make this in Qt.
    Somebody can help me, please?
    Thank you.

  2. #2
    Join Date
    Aug 2006
    Location
    Bangalore,India
    Posts
    419
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    37
    Thanked 53 Times in 40 Posts

    Default Re: system in Qt

    Have you checked QProcess ?
    The biggest difference between time and space is that you can't reuse time.
    -- Merrick Furst

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: system in Qt

    Just remember that if you want to run a shell script, you have to invoke the shell (that in turn executes the script) and not directly the script through QProcess.

Similar Threads

  1. Writing System in QFontDialog?
    By ashukla in forum Qt Programming
    Replies: 12
    Last Post: 23rd January 2008, 10:17
  2. System environment variable
    By fahlen in forum Qt Programming
    Replies: 4
    Last Post: 27th November 2007, 19:02
  3. coordinating system
    By eleanor in forum Qt Programming
    Replies: 3
    Last Post: 7th November 2007, 20:57
  4. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15
  5. System title bar height
    By andynugent in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 16th October 2006, 15:57

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
  •  
Qt is a trademark of The Qt Company.