Multiple QT apps in virtual Terminals
-
Hi All,
I have 2 QT apps. The first apps is Sway which runs on XCB platform plugin. The 2nd app is another QT app which either uses eglfs or linuxfb as platform plugin.
First I run sway, then I run the 2nd app which first switches the virtual terminal to tty2 and then displays. Now I want to switch to tty1 which has sway running. With LinuxFb plugin in 2nd QT app I cannot do chvt 1 because it just hangs. If I use eglfs plugin to run second app it never switches virtual terminals and displays.
Please let me know how can I run 2 QT apps in different virtual terminals.
Thank you for your support.
-
Hi and welcome to devnet,
I am not sure that this possible like that.
Why not use xcb for both ?
-
Hi @SGaist
We want to slowly move away to EGLFS but for now we have one QT app(Sway compositor https://swaywm.org/ ) with XCB plugin and the other with EGLFS.
Two questions- Would 2 qt apps run in parallel in virtual terminal if they both use EGLFS plugin and switch between them using chvt? If NO, why?
- Would 2 qt apps run in parallel in virtual terminal if they both use Linuxfb plugin and switch between them using chvt? If NO, why?
Sorry, I am very new to QT. I couldnt find any questions related to my use case where 2 QT apps/processes use the same display.
Thanks a lot.
-
-
I highly doubt that because each application will take ownership of input devices.
-
Same as above.
If you want active multi-head support why are you dumping Wayland ?
-