Solved What is the best approach of embedded multi-window application building with Qt Quick?
-
Hi everyone,
I want to build a multi-window application in embedded linux with Qt Quick, but EGLFS(needed for GPU usage) does not support muliti-window. Both multi-window qml and mix-use of qwidgets and quick are forbidden, so what is the best practices to handle it? I searched a lot, but nothing useful was found. Really appreciate your suggests.
-
Hi and welcome to devnet,
For your use case it'd seems that you should look at the wayland backend.
-
Thanks a lot for your reply. Wayland is too complex for my project. If EGLFS is nessasary, should I use 'StackView+Page' or 'QML loader' for page navigation. I am not sure which is the best way for page navigation (like Android application). Both 'Page Transition Animation' and 'Life Circle Callback' are determining factors for my choice. Hope for your further help.
-
So you meant a single application were you navigate through different pages ?
-
Yeah. A single application is enough, and two candidates are found: 'StackView+Page' and 'QML loader'. But I am not sure which is better, or that both of them are wrong. I am brank new in qt dev, ^_^.
-
AFAIK, loaders are a way to load components. They do not replace a stack view.
You should check @ekkescorner articles. It provides a good starting point.
-
Wow, thank you so much! Indeedly, this is what I am looking for.