Environmental problems in qt5.6.2
-
My qt5.6.2 configuration :
QPA backends:
DirectFB ............. no
EGLFS ................ yes
EGLFS i.MX6 ........ no
EGLFS i.MX6 Wayland. no
EGLFS EGLDevice .... no
EGLFS GBM .......... no
EGLFS Mali ......... no
EGLFS Raspberry Pi . no
EGLFS X11 .......... no
LinuxFB .............. yes
Mir client............ no
XCB .................. no
Session management ..... yes
After compiling, put it on the arm board, and test the example program that comes with qt to specify eglfs to run。
The environment variables I configured under the board are:
export LD_LIBRARY_PATH=/usr/lib/qt_5.6.2/lib:/usr/lib
export QT_QWS_FONTDIR=/usr/lib/qt_5.6.2/lib/fonts
export QT_QPA_PLATFORM=eglfs
export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/qt_5.6.2/plugins
export QT_QPA_EGLFS_INTEGRATION=none
export QT_DEBUG_PLUGINS=1
export QT_LOGGING_RULES="qt.qpa.*=true"egl ,gles,wayland related libraries are located under /usr/lib。
When the/etc/init. D/S49weston open services, execute the/usr/lib/qt_5. 6.2 / examples/opengl/hellowindow/hellowindow, there is an error:
arm_release_ver of this libmali is 'g2p0-01eac0', rk_so_ver is '7'.
warning: queue 0x5599c53000 destroyed while proxies still attached:
wl_callback@6 still attached
wl_callback@5 still attached
mali_buffer_sharing@4 still attached
wl_callback@3 still attached
EGL Error : Could not create the egl surface: error = 0x300bWhen the/etc/init. D/closed S49weston services, execute the/usr/lib/qt_5. 6.2 / examples/opengl/hellowindow/hellowindow, there is an error:
arm_release_ver of this libmali is 'g2p0-01eac0', rk_so_ver is '7'.
Could not initialize egl display
Aborted
Who can help me solve this problem -
@hellotiger Run glmark2-es2-drm and glmark2-es2-wayland on the arm board to check that the gpu runs normally, and the display is normal.