[Qt-interest] Multiple Process
Diego Iastrubni
diegoiast at gmail.com
Mon Mar 22 08:30:18 CET 2010
There are several IPC examples in Qt, look at them (IPC =
http://en.wikipedia.org/wiki/Inter-process_communication )
You can use a shared memory, dbus, or use QRemoteSignal:
http://qt-apps.org/content/show.php/QRemoteSignal?content=112061
On Mon, Mar 22, 2010 at 7:25 AM, linux newbie <linux.newbie79 at gmail.com>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>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>> 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>
>>>
>>> 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
>>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100322/8ff80438/attachment.html
More information about the Qt-interest-old
mailing list