[Interest] How to switch two Qt applications on Embedded Linux ?

Xubao Jiang jiangxubao at gmail.com
Mon May 26 12:42:26 CEST 2014


I have no window manager. The QPA plugin is directfb. I run the app with
command:  Launcher –platform directfb

Best regards
Xubao

On Mon, May 26, 2014 at 5:41 PM, Filip Piechocki <fpiechocki at gmail.com>wrote:

> Do you have any window manager on your embedded device? What QPA plugin do
> you use on your embedded device?
>
> BR,
> Filip Piechocki
>
>
> On Mon, May 26, 2014 at 11:34 AM, Xubao Jiang <jiangxubao at gmail.com>wrote:
>
>>  Hi all,
>>
>> I meet an problem about switch two Qt applications on my Embedded Linux
>> soc.
>>
>> I have written an application "Launcher", which will start other
>> applications using QProcess. It calls hide() when the new app start, and
>> calls show() when the new app is closed. This works normally.
>>
>> Now I want to the two applications can be alive at the same time. I tried
>> to call hide() in the new app, and then send messages(D-Bus) to Launcher.
>> When Launcher receives this message, it will call show(). But Launcher
>> didn't show again, and the screen is black. After debugging, Launcher did
>> receive the message and show() is called. I don't know why it doesn't
>> display again.
>>
>> This method works normally on Ubuntu pc. I want to know if Qt embedded
>> supports this feature or not? My Qt version is 5.0.2.
>>
>> One work round is to write one application to do all work, but it seems
>> too complicated. Does anyone have met the same issue before? What is your
>> solution for application management? Is one application the general
>> solution for this?
>>
>>
>> Best regards,
>> Xubao
>>
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140526/236aff86/attachment.html>


More information about the Interest mailing list