How can I run QML apllication on i.MX6UL ?

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

How can I run QML apllication on i.MX6UL ?

636 Views
hrushinale
Contributor III

Hello Community,

I am facing issue in running the QML application on i.MX6UL board. Below are the logs of failure

./Qt5_CinematicExperience --platform eglfs
gbm: failed to open any driver (search paths /usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/vivante_dri.so: cannot open shared object file: No such file or directory
failed to load driver: vivante
gbm: failed to open any driver (search paths /usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: No such file or directory
failed to load driver: kms_swrast
Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
EGL Error : Could not create the egl surface: error = 0x300b

Aborted

And below are the logs when I run it with linuxfb plugin 

./Qt5_CinematicExperience --platform linuxfb
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
This plugin does not support createPlatformOpenGLContext!
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
Aborted

Is there any way by which I can run the QML applications on i.MX6UL  ?

Thanks in advance.

Labels (1)
0 Kudos
1 Reply

608 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Nale,

You need GPU to run QML unfortunately the MX6UL do not have one.

Regards

0 Kudos