[Qt-interest] Changing Terminals
linux newbie
linux.newbie79 at gmail.com
Tue Nov 17 22:41:28 CET 2009
Hi,
Any updates?
Thanks
On Tue, Nov 17, 2009 at 9:15 AM, linux newbie <linux.newbie79 at gmail.com> wrote:
> Thanks for your reply.
>
> In this case, how different applications come to foreground on
> pressing ALT-F1 or ALT-F2?
>
> Do we need to write our own server application and pass -qws flag in
> order to launch different application??
>
> My understanding is that we can't assign each Qt application to
> individual tty. Please correct me if I am wrong.
>
>
>
> On Mon, Nov 16, 2009 at 8:21 PM, Sean Harmer
> <sean.harmer at maps-technology.com> wrote:
>> Hi,
>>
>> linux newbie wrote:
>>>
>>> Hi,
>>>
>>> any updates to below posting?
>>>
>>> Thanks
>>>
>>> On Fri, Nov 13, 2009 at 2:12 PM, linux newbie <linux.newbie79 at gmail.com>
>>> wrote:
>>>>
>>>> Hi,
>>>>
>>>> Ours is an arm based embedded platform and currently we are using
>>>> ncurses for GUI.
>>>>
>>>> 3 GUI based applications are running under different terminals(tty1,
>>>> tty2 & tty3) and on pressing Alt-F1, Alt-F2, Alt-F3 we can switch
>>>> between terminals. Can we do the same with Qt? If yes, is there any
>>>> sample application?
>>
>> Just launch 3 applications on the same terminal and provide a method for
>> switchng between them. Just launch the first app (or an app launcher like
>> the fluidlauncher demo that ships with Qt) with the -qws flag so that it is
>> the server process. Then launch your other apps without this flag so that
>> they connect to an existing server process.
>>
>> e.g.
>>
>> fluidlauncher -qws &
>>
>> or
>>
>> myapp1 -qws &
>> myapp2 &
>> myapp3 &
>>
>>
>> HTH,
>>
>> Sean
>>
>>
>>>>
>>>> Thanks in Advance!!!
>>>>
>>> _______________________________________________
>>> Qt-interest mailing list
>>> Qt-interest at trolltech.com
>>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>>
>
More information about the Qt-interest-old
mailing list