Qt5.8 for arm:Could not open egl display
-
@aV_V Studying code makes me headache.I almost lost my confidence.Do u have an OpenGL application?
I find the key "qtbase" in the folder ipk:
./cortexa9hf-neon-mx6qdl/qtbase-plugins_5.8.0+git0+49dc9aa409-r0_cortexa9hf-neon-mx6qdl.ipk ./cortexa9hf-neon-mx6qdl/qtbase-tools_5.8.0+git0+49dc9aa409-r0_cortexa9hf-neon-mx6qdl.ipk ./cortexa9hf-neon-mx6qdl/qtbase-dbg_5.8.0+git0+49dc9aa409-r0_cortexa9hf-neon-mx6qdl.ipk ./cortexa9hf-neon-mx6qdl/qtbase-doc_5.8.0+git0+49dc9aa409-r0_cortexa9hf-neon-mx6qdl.ipk ./cortexa9hf-neon-mx6qdl/qtbase-mkspecs_5.8.0+git0+49dc9aa409-r0_cortexa9hf-neon-mx6qdl.ipk ./cortexa9hf-neon-mx6qdl/qtbase_5.8.0+git0+49dc9aa409-r0_cortexa9hf-neon-mx6qdl.ipk ./cortexa9hf-neon-mx6qdl/qtbase-dev_5.8.0+git0+49dc9aa409-r0_cortexa9hf-neon-mx6qdl.ipk ./cortexa9hf-neon-mx6qdl/qtbase-lic_5.8.0+git0+49dc9aa409-r0_cortexa9hf-neon-mx6qdl.ipk ./cortexa9hf-neon-mx6qdl/qtbase-staticdev_5.8.0+git0+49dc9aa409-r0_cortexa9hf-neon-mx6qdl.ipk
no "qtbase-examples",So i add "qtbase-examples" to IMAGE_INSTALL_append in local.conf,But when bitbake,the error:
Couldn't find anything to satisfy 'qtbase-examples'
May I know your Yocto Version?
-
please do:
root@YOURBOARD: apt-get update
root@YOURBOARD: apt-get upgrade
root@YOURBOARD: apt-cache search qt5 (here is list of cached modules)
root@YOURBOARD: apt-get install qt5-default
.....
root@YOURBOARD: apt-get install all_needed_modulesshould working
-
the apt-get don't have source list. do you know the source address?
-
sorry , i don't know
-
I'm sorry for the absence, was busy.
@hflw said in Qt5.8 for arm:Could not open egl display:
no "qtbase-examples",So i add "qtbase-examples" to IMAGE_INSTALL_append in local.conf,But when bitbake,the error:
Couldn't find anything to satisfy 'qtbase-examples'
Do
PACKAGECONFIG_append_pn-qtbase = " examples" IMAGE_INSTALL_append = " qtbase-examples"
To debug Qt backends is better to use this:
export QT_QPA_DEBUG=1 export QT_LOGGING_RULES="qt.qpa.*=true"
Regards.
-
@aV_V ,I add examples,but still don't work,below is debug info:
root@b2qt-imx6dlsabresd:~# ./qqc2a QML debugging is enabled. Only use this in a safe environment. qt.qpa.egldeviceintegration: EGL device integration plugin keys: ("eglfs_viv") qt.qpa.egldeviceintegration: EGL device integration plugin keys (sorted): ("eglfs_viv") qt.qpa.egldeviceintegration: Trying to load device EGL integration "eglfs_viv" qt.qpa.egldeviceintegration: Using EGL device integration "eglfs_viv" 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 Could not open egl display Aborted (core dumped)