[Qt-interest] Multiple Process
Yuvraj
yuvraj.ragupathi at indieontech.com
Mon Mar 22 06:51:44 CET 2010
linux newbie wrote:
> 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.
>
> Any examples will be of helpful.
>
> Thanks
>
> On Mon, Mar 22, 2010 at 4:16 PM, Yuvraj
> <yuvraj.ragupathi at indieontech.com
> <mailto:yuvraj.ragupathi at indieontech.com>> wrote:
>
> linux newbie wrote:
>
> can you provide me an example?
>
> On Mon, Mar 22, 2010 at 3:52 PM, Yuvraj
> <yuvraj.ragupathi at indieontech.com
> <mailto:yuvraj.ragupathi at indieontech.com>
> <mailto:yuvraj.ragupathi at indieontech.com
> <mailto:yuvraj.ragupathi at indieontech.com>>> wrote:
>
> linux newbie wrote:
>
> Hi,
> In my embedded application (using QWS), I need to manage
> different applications.
> For example, my qws server application has to bring up
> new Qt
> client application on pressing ALT+F2 (now server
> application
> has to be hidden). and on pressing ALT+F1 , the server
> application has to come foreground(client application on
> background).
> Any suggestions on how to do this?
> Thanks
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> <mailto:Qt-interest at trolltech.com>
> <mailto:Qt-interest at trolltech.com
> <mailto:Qt-interest at trolltech.com>>
>
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
> you can use signals(Linux) .
>
> Thanks
>
> Yuvraj
>
>
>
> create two process
>
> process one --->server application
>
> process two --- > client application
>
> Signal(
> in each process ,monitor key press event. if key is pressed raise
> a signal to do your task,using kill system call.
>
> I am not sure,this may help you
>
>
>
> Thanks
>
> Yuvraj
>
>
Yes in QT ,you have to use QProcess. send one signal from your child
process to parent process to do minimization task. now you can control
your client application as per you wish.
Because both process are executing separately. what ever you want to do
,do it your child process.
If you want to communicate between two process, just have look about IPC
Thanks
Yuvraj
More information about the Qt-interest-old
mailing list