<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックControl which displays QT application is output to</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Control-which-displays-QT-application-is-output-to/m-p/1925969#M227018</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using an iMX8 processor and linux 5.15 built with yocto.&lt;/P&gt;&lt;P&gt;Currently I've managed to bring up two displays via LVDS and MIPI.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;I am able to execute two qt applications in two displays if I do that via the weston terminals inside the respective displays.&lt;/P&gt;&lt;P&gt;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&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Tue, 06 Aug 2024 05:22:56 GMT</pubDate>
    <dc:creator>donjacobvellathottam</dc:creator>
    <dc:date>2024-08-06T05:22:56Z</dc:date>
    <item>
      <title>Control which displays QT application is output to</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Control-which-displays-QT-application-is-output-to/m-p/1925969#M227018</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using an iMX8 processor and linux 5.15 built with yocto.&lt;/P&gt;&lt;P&gt;Currently I've managed to bring up two displays via LVDS and MIPI.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;I am able to execute two qt applications in two displays if I do that via the weston terminals inside the respective displays.&lt;/P&gt;&lt;P&gt;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&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 05:22:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Control-which-displays-QT-application-is-output-to/m-p/1925969#M227018</guid>
      <dc:creator>donjacobvellathottam</dc:creator>
      <dc:date>2024-08-06T05:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Control which displays QT application is output to</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Control-which-displays-QT-application-is-output-to/m-p/1929505#M227186</link>
      <description>&lt;P&gt;Hi &lt;BR /&gt;You may need select output in your QT application using&amp;nbsp;&lt;SPAN class="hljs-title class_"&gt;QGuiApplication&lt;/SPAN&gt;&lt;SPAN&gt;::&lt;/SPAN&gt;&lt;SPAN class="hljs-title function_ invoke__"&gt;screens.. etc.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Please refer QT api&lt;/P&gt;
&lt;P&gt;&lt;A href="https://doc.qt.io/qt-5/qguiapplication.html" target="_blank"&gt;https://doc.qt.io/qt-5/qguiapplication.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Sat, 10 Aug 2024 00:36:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Control-which-displays-QT-application-is-output-to/m-p/1929505#M227186</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2024-08-10T00:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Control which displays QT application is output to</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Control-which-displays-QT-application-is-output-to/m-p/1929894#M227208</link>
      <description>&lt;P&gt;Hi, thanks for the response&lt;/P&gt;&lt;P&gt;I was able to do it.&lt;/P&gt;&lt;P&gt;But is there any way to do it via the debug terminal (any cmd commands or anything)&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;I tried to use the&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DISPLAY=:&lt;/LI-CODE&gt;&lt;P&gt;command but it didn't help&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 05:50:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Control-which-displays-QT-application-is-output-to/m-p/1929894#M227208</guid>
      <dc:creator>donjacobvellathottam</dc:creator>
      <dc:date>2024-08-12T05:50:16Z</dc:date>
    </item>
  </channel>
</rss>

