Results 1 to 3 of 3

Thread: QProcess doesn't do the same as the terminal would

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QProcess doesn't do the same as the terminal would

    Hi,

    the problenm is the 7z command not QProcess

    try with
    Qt Code:
    1. list << "a" << "-t7z" << "-mx9" << "/home/user/Desktop/Desktop.7z" << "/home/user/Desktop/file1.pdf" << "/home/user/Desktop/file2.doc";
    To copy to clipboard, switch view to plain text mode 

    note "-mx9" instead of "mx9"
    A camel can go 14 days without drink,
    I can't!!!

  2. The following user says thank you to mcosta for this useful post:

    mr_kazoodle (3rd February 2011)

Similar Threads

  1. Opening A Terminal using QProcess
    By sujan.dasmahapatra in forum Qt Programming
    Replies: 1
    Last Post: 3rd February 2011, 14:51
  2. terminal widget
    By kernel_panic in forum Qt Programming
    Replies: 11
    Last Post: 21st November 2009, 14:08
  3. help about terminal window
    By andyyeng in forum Qt Programming
    Replies: 0
    Last Post: 29th October 2008, 15:22
  4. Looking for widget to run terminal app
    By marcell in forum Qt Programming
    Replies: 0
    Last Post: 16th May 2008, 16:24
  5. QProcess doesn't terminate
    By Bagstone in forum Qt Programming
    Replies: 4
    Last Post: 8th February 2008, 00:43

Tags for this Thread

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.