How can I make a rootfs with Qt that it can run OpenGL

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

How can I make a rootfs with Qt that it can run OpenGL

1,050 Views
Mihan
Contributor IV

I want to use GPU to solve the effectiveness problem that when I zoom in/out a curve, the usage rate of CPU is closed to 100%, and the animation is not smooth. So I try using -platform eglfs to run my project, but it doesn't work(without eglfs, only have minimal, offscreen, xcb.).

So how can I make libqeglfs.so when I build image, rootfs and toolchain. Now I use fsl-yocto-L4.1.15_2.0.0-ga

Regards.

Labels (2)
0 Kudos
3 Replies

937 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi,

see below, please!

1. Downloading linux BSP V4.1.15 according to i.MX_Yocto_Project_User's_Guide.pdf

2. Using commands below to compile the Yocto BSP

$ cd fsl-release-bsp
$ DISTRO=fsl-imx-x11 MACHINE=imx6dlsabresd source fsl-setup-release.sh -b build-x11
$ bitbake fsl-image-qt5

try it , please!

Have a nice day!

BR,

Weidong

0 Kudos

937 Views
Mihan
Contributor IV

Thanks weidong.sun

I have finished these steps! But in /usr/lib/qt5/plugins/platforms/, there are just three libraries libxcb.so libqoffscreen.so and libqminimal.so. No libqeglfs.so !!! What happened?

Regard

0 Kudos

937 Views
weidong_sun
NXP TechSupport
NXP TechSupport

、See the link, please!

Yocto(imx-4.1.15-krogoth) : Render process exited with code 11 in qtwebengine 

The user also use 4.1.15 version, she is using DISTRO=fsl-imx-wayland, you can see this:

root@imx6qsabresd:/usr/lib/qt5/plugins/platforms# ls
libqeglfs.so    libqminimalegl.so  libqwayland-egl.so
libqminimal.so  libqoffscreen.so   libqwayland-generic.so

try it, please!

Have a nice day!

Weidong

0 Kudos