imx-linux-fb not able to run QT6 application

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

imx-linux-fb not able to run QT6 application

74 Views
Chandrashekhar_MVE
Contributor II

hi

command to build yoctos is:(imx-linux-nanbield -m imx-6.6.3-1.0.0.xml)

DISTRO=fsl-imx-fb MACHINE=imx6dlsabresd source imx-setup-release.sh -b build-imx-fb
bitbake imx-image-full

 

we are unable to run the QT, psplash screen works good and we can see graphics.

root@imx6dlsabresd:/usr/share/examples/quick3d/antialiasing# fbset

mode "1024x600-101"
# 71.901 MHz, H: 62.851 kHz, V: 100.722 Hz
geometry 1024 600 1024 1200 24
timings 13908 24 72 10 12 24 2
rgba 8/16,8/8,8/0,0/0
endmode

root@imx6dlsabresd:/usr/share/examples/quick3d/hellocube# ./hellocube
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
QEglFSVivIntegration will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.
If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
QEGLPlatformContext: Failed to create context: 3009
QQuickItem: Cannot set FocusScope once item has children and is in a window.
EGL Error : Could not create the egl surface: error = 0x300b

Aborted (core dumped)
root@imx6dlsabresd:/usr/share/examples/quick3d/hellocube#

 

after export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER still application not works.

 

root@imx6dlsabresd:/usr/share/examples/quick3d/hellocube# ./hellocube
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
QEGLPlatformContext: Failed to create context: 3009
QQuickItem: Cannot set FocusScope once item has children and is in a window.
EGL Error : Could not create the egl surface: error = 0x300b

Aborted (core dumped)
root@imx6dlsabresd:/usr/share/examples/quick3d/hellocube#

0 Kudos
2 Replies

55 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Make sure you are using the qt-validation image in you board since apparently you have correct all the dtb and previous packages.

Regards

0 Kudos

45 Views
Chandrashekhar_MVE
Contributor II

what you mean by  qt-validation image, We are using the examples which is generated by bitbake. 

examples in rootfs -> /usr/share/examples/quick3d/hellocube/

Rgds

Chandra

0 Kudos