Results 1 to 2 of 2

Thread: QProcess failed invoke emulator correctly

  1. #1
    Join Date
    Jun 2011
    Posts
    4
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default QProcess failed invoke emulator correctly

    Hi All,

    I need some help with QProcess.

    I have created a mobile application which runs fine with Qt simulator when invoked through QtCreator. For some testing purpose I need to run this application executable (created for simulator target) through another Qt Desktop application. To do so, I have created a batch file which, sets the required Qt environment and executes the binary. This batch file works fine when invoked from command prompt.

    Now, from my desktop application when I invoke this batch file using QProcess it exits with code QProcess::Crashed. And the regular windows error message is poped which says "XXX.exe has encountered a problem and needs to close...."

    Please let me know if you have any inputs on resolving this.
    Thanks in advance.

  2. #2
    Join Date
    Jun 2011
    Location
    Finland
    Posts
    164
    Thanks
    1
    Thanked 26 Times in 26 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Maemo/MeeGo

    Default Re: QProcess failed invoke emulator correctly

    Could you show us how you are starting the process? Have you tried startDetached(..) ?

Similar Threads

  1. QProcess - Failed to start
    By sankar in forum Qt Programming
    Replies: 8
    Last Post: 21st March 2011, 05:57
  2. QProcess::start() failed when application runs from sudo
    By alenyashka in forum Qt Programming
    Replies: 3
    Last Post: 22nd June 2010, 06:35

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.