multiple QT applications on an embedded ARM Linux platform
-
I compiled QT 5.13 on an embedded ARM Linux platform and encountered an issue when running two QT applications, A and B. Here are the symptoms:
- Two cursors appear on the screen.
- When I move the cursor, both applications refresh their UI, causing the lower-level A application to overwrite the UI of the upper-level B application, as if drawing with a cursor.
I tried using
QWindow::fromWinId(qstr.toUInt())
to embed application B into application A, but I received the error message
QWindow::fromWinId(): platform plugin does not support foreign windows. QWindowContainer: embedded window cannot be null.
How can I resolve the issue of running multiple QT applications on an embedded ARM Linux platform? Thank you very much.
-
Hi,
You would need a window manager for that. AFAIK, Wayland would be the way to go.