Hi,
I'm using an iMX8 processor and linux 5.15 built with yocto.
Currently I've managed to bring up two displays via LVDS and MIPI.
When I list the displays, it shows they are named XWAYLAND0 and XWAYLAND1. I've named them HDMI-A-1 and HDMI-A-2 in the weston.ini file.
I am able to execute two qt applications in two displays if I do that via the weston terminals inside the respective displays.
But can I control in which display the output of an application will be shown if I'm executing them via the debug terminal or using autoboot
Thanks in advance
Hi
You may need select output in your QT application using QGuiApplication::screens.. etc.
Please refer QT api
https://doc.qt.io/qt-5/qguiapplication.html
Best Regards
Zhiming
Hi, thanks for the response
I was able to do it.
But is there any way to do it via the debug terminal (any cmd commands or anything)
I am trying to show a demo application, and I might need to send the output to either one of the screens. So, hard coding the display name into the application is not suitable now.
I'm trying to see if there are any commands that I can type in before executing the application to direct the output to a specific screen of choice.
I tried to use the
DISPLAY=:
command but it didn't help