How make use of the QT-Window Server



  • Hello, I've made some QT application for desktop before but now I want to make an application for an embedded device (raspberry), I followed a tutorial to deploy applications and it worked and my question is, If I want to have multiple apps running how do I manage the window server to handle them with a specific design?.

    I could make a single app that handles them using multiple threads maybe using various widgets or something like that, even so, I believe there is a better way to do so because I read there is a QT-window server when using embedded devices but I don't know how to access it and to modify it.

    Any suggestions?.


  • Moderators

    Hi @Fransebas,

    I believe there is a better way to do so because I read there is a QT-window server when using embedded devices

    Since Qt 5.0 QWS no longer exists. More info here (first para)

    According to me using eglfs might be useful here.
    Quoting from the doc:

    EGLFS forces the first top-level window (be it either a QWidget or a QQuickView) to become fullscreen. This window is also chosen to be the root widget window into which all other top-level widgets (for example dialogs, popup menus or combobox dropdowns) are composited.

    So what I understand is you can create a launcher window which can be fullscreen and then from there you can launch your other apps in a dialog window.
    Anyone please correct me if I'm wrong.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.