Results 1 to 8 of 8

Thread: How to use the QProcess to execute the Browser ?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2009
    Posts
    39
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11
    Thanks
    3

    Default Re: How to use the QProcess to execute the Browser ?

    Thanks for reply, But i'm using on embedded linux ARM board. I need to just execute a simple code to show "ls -l" or some program ./test -qws. plz can you tell me how it can be achieved

  2. #2
    Join Date
    Dec 2007
    Posts
    628
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    3
    Thanked 89 Times in 87 Posts

    Default Re: How to use the QProcess to execute the Browser ?

    Quote Originally Posted by Rajeshsan View Post
    Thanks for reply, But i'm using on embedded linux ARM board. I need to just execute a simple code to show "ls -l" or some program ./test -qws. plz can you tell me how it can be achieved
    Then why you are asking for browser ?
    Ok, you can run a system command using QProcess and redirect its output to any display widget. Now please search this very forum for output redirection.

  3. #3
    Join Date
    Sep 2009
    Posts
    39
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11
    Thanks
    3

    Default Re: How to use the QProcess to execute the Browser ?

    Hello Yogesh sir, I'm working on Windows PC only. by using following commands i got cmd.exe on windows if i click on button.

    plz understand what i'm telling. If i click on button cmd.exe got open by
    proc=new QProcess;
    proc->startDetached("cmd.exe")

    okay after getting command window on my PC. I need to send some characters to printed on that commad line like copy etc by using Qt one more button. i searched all options in parameters list of Qt. I didnt get it.Atleast i need to open some file by using same logic if i click a button, it should open some files with defeoned path.

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    6
    Thanked 348 Times in 333 Posts

    Default Re: How to use the QProcess to execute the Browser ?

    Rajeshsan, you are confusing people by asking off-topic questions in other peoples threads. Please only ask your questions in your own threads.

Similar Threads

  1. Detect First QProcess finished in a group and kill other
    By Davidaino in forum Qt Programming
    Replies: 3
    Last Post: 11th July 2008, 12:53
  2. Replies: 7
    Last Post: 14th March 2008, 13:52
  3. Invoking a browser...???
    By deepusrp in forum Newbie
    Replies: 4
    Last Post: 12th June 2007, 17:32
  4. QProcess / system call not working under linux. Why?
    By johnny_sparx in forum Qt Programming
    Replies: 12
    Last Post: 11th March 2006, 00:32
  5. QProcess in a QThread
    By chombium in forum Qt Programming
    Replies: 2
    Last Post: 11th January 2006, 15:52

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.