imx93evk - yocto linux - LVDS - qt6 GUI

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

imx93evk - yocto linux - LVDS - qt6 GUI

237 Views
aditya_h
Contributor II

Hi,

I am trying to bringup LVDS on Imx93 EVK using yocto linux and I want to run simple qt application on the board. I have created image of imx-image-core type using 'fsl-imx-xwayland' as distro. For building  qt toolchain(meta-toolchain-qt6) I have used the same distro.
For enabling LVDS created a patch to support timing parameter for my display.

When I run my qt application. I am getting below error.

Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin “wayland” in “” even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Can anyone suggest right configuration for the yocto build. Also what should be the right environment parameters for running qt application?

@AldoG 

0 Kudos
5 Replies

212 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @aditya_h !

Thank you for contacting NXP Support!

 

You have to use the imx-image-full to use Qt because the imx-image-core doesn´t contain Qt packages.

 

You can see the content of each image in our Yocto User Guide.

 

https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf

  

Best Regards!

Chavira

0 Kudos

196 Views
aditya_h
Contributor II

Thanks for the response @Chavira.

Do I have to manually set environmental variables to configure display and Qt plugin for xwayland?

Tags (1)
0 Kudos

189 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @aditya_h!

You should compile the Full image to use QT, if you are using the iMX93-EVK and the BOE EV121WXM-N10-1850 LVDS Panel you have to configure the device tree called "imx93-11x11-evk-boe-wxga-lvds-panel.dtb" and then you can display QT applications in iMX93-EVK.

Best Regards!

Chavira

0 Kudos

149 Views
aditya_h
Contributor II

I tried with Full image. But facing the same error. Please note that I am using display from Sharp. Attaching datasheet

0 Kudos

126 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @aditya_h ! 

 

How are you connecting the display to the iMX93-EVK board?

We have an LVDS panel for the iMX93-EVK board and is the next:

 

https://www.nxp.com/part/DY1212W-4856#/

 

To use it you have to set the device tree called "imx93-11x11-evk-boe-wxga-lvds-panel.dts"

https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/arch/arm64/boot/dts/freescale/imx93-11x11-evk-boe...

 

Best Regards!

Chavira

0 Kudos