Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. multiple QT applications on an embedded ARM Linux platform
Forum Updated to NodeBB v4.3 + New Features

multiple QT applications on an embedded ARM Linux platform

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 255 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    baklai
    wrote on last edited by
    #1

    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:

    1. Two cursors appear on the screen.
    2. 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.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You would need a window manager for that. AFAIK, Wayland would be the way to go.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      B 1 Reply Last reply
      2
      • SGaistS SGaist

        Hi,

        You would need a window manager for that. AFAIK, Wayland would be the way to go.

        B Offline
        B Offline
        baklai
        wrote on last edited by
        #3

        @SGaist Yes, I have also considered this reason. I will try to see if I can resolve it. Thank you!

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved