Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is not an issue #2

Open
matzrm opened this issue Nov 3, 2023 · 1 comment
Open

is not an issue #2

matzrm opened this issue Nov 3, 2023 · 1 comment

Comments

@matzrm
Copy link

matzrm commented Nov 3, 2023

Have you any idea on how to work with the two screen united?
My goal is create an qml object that goes from screen 1 until the end of screen 2.

Thank you so much

@alpqr
Copy link
Owner

alpqr commented Feb 10, 2024

There is no simple way to do that with a low-level, direct-to-screen platform plugin such as eglfs, where there is no compositor involved. A Qt Quick scene (QQuickWindow) always targets a single screen; two screens imply having to maintain two independent Qt Quick scenes. The application can choose to maintain the illusion of a single big scene by juggling two scenes (QQuickWindows) under the hood, but this may quickly become complicated.

This case is likely better suited for a compositor-based system with Qt Wayland. https://doc.qt.io/qt-6/qtwaylandcompositor-spanning-screens-example.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants