How to specify the output windows to multi screen display respectively on the imx8mp evk board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to specify the output windows to multi screen display respectively on the imx8mp evk board

1,110 Views
charleshuang
Senior Contributor II

Hi NXP teams,

We run the attached Multi_Screen_Display APP on the imx8mp evk board with dual display(HDMI+DSI to HDMI). The imx8mp evk BSP is Linux 5.4.70-2.3.0.

We expect It can open two QT windows and display them on the HDMI screen and the DSI to HDMI screen respectively. But the two QT windows can only be displayed on HDMI screen or DSI to HDMI screen at a time now.

How to specify a output window to HDMI display screen and another window to DSI to HDMI display screen at a time on the imx8mp evk board? Thanks.

 

Labels (1)
0 Kudos
Reply
2 Replies

1,098 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Do you use correct qt api?

 

QDialog dlg = new QDialog(this);
QDesktopWidget* desktop = QApplication::desktop();
this->setGeometry(desktop->screenGeometry(0));   
dlg->setGeometry(desktop->screenGeometry(1));
0 Kudos
Reply

1,077 Views
charleshuang
Senior Contributor II

Hi @Zhiming_Liu 

Yes, we also use correct qt api, but this problem still exists. Thanks.

0 Kudos
Reply