[yocto] [x11][Question] QXcbIntegration: Cannot create platform OpenGL context

Yahya Ahmed yahya.coder at gmail.com
Sun Dec 3 11:38:59 PST 2017


Hello,


I've been trying to add Qt5 support to a core-image-sato image using
Yocto's Poky Pyro on Raspberry Pi 3.

In my bblayer.conf I added these lines:

BBLAYERS ?= " \
        /poky-pyro/meta \
        /poky-pyro/meta-poky \
        /poky-pyro/meta-yocto-bsp \
        /poky-pyro/meta-openembedded/meta-oe \
        /poky-pyro/meta-openembedded/meta-multimedia \
        /poky-pyro/meta-openembedded/meta-networking \
        /poky-pyro/meta-openembedded/meta-perl \
        /poky-pyro/meta-openembedded/meta-python \
        /poky-pyro/meta-raspberrypi \
        /poky-pyro/meta-qt5 \
  "

In my local.conf I added these lines:

DISTRO_FEATURES_append = " opengl "
IMAGE_INSTALL_append = " qtbase qtdeclarative qtquickcontrols2
qtmultimedia qttools cinematicexperience "

Bitbake finished building the image successfully, but when I run
Qt5_cenimaticExperience on the target I get this error message:

QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL
are enabled.

Any help would be very much appreciated!
Thank You,
-- 
Yahya Ahmed




‌
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171203/ef031a63/attachment.html>


More information about the yocto mailing list