[Qt-interest] Multiple Process

Will Rutherdale (rutherw) rutherw at cisco.com
Mon Mar 22 15:44:04 CET 2010


Maybe the question you wanted to ask was slightly different from what
you did ask.
 
I think the problem you are trying to solve is much more simply handled
using the standard signal/slot facilities available in Qt.  You do not
need multiple processes and inter-process communication just to catch
control keys and invoke parallel functionality.  You can have a slot set
up to handle your alt-F2 operation.
 
If the server computation involves a lot of processing, you could look
at using QThread so that it doesn't tie up the main event loop.
 
Only if the server gets really big would you want to resort to a
separate process with QtDBus for IPC.
 
-Will
 


________________________________

	From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of linux newbie
	Sent: 22 March 2010 01:26
	To: Yuvraj
	Cc: Qt Interest
	Subject: Re: [Qt-interest] Multiple Process
	
	
	but this is not the way I want to do.
	 
	when starting the server application it occupies the screen and
I want to invoke other application on pressing ALT+F2.
	I belive I can use QProcess to start another Qt application, but
I am not sure how to control the second application through Server
application.
	 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100322/4428af68/attachment.html 


More information about the Qt-interest-old mailing list