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

Xubao Jiang jiangxubao at gmail.com
Mon May 26 11:34:49 CEST 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140526/3248bdd6/attachment.html>


More information about the Interest mailing list