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

mohammed aqdam mohammedaqdam at gmail.com
Mon Dec 4 03:54:38 PST 2017


Hi yahya,

Follow this link to build yocto image with qt5...
http://www.jumpnowtek.com/rpi/Raspberry-Pi-Systems-with-Yocto.html

Warm regards,
Mohammed Aqdam

On Dec 4, 2017 1:09 AM, "Yahya Ahmed" <yahya.coder at gmail.com> wrote:

> 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
>
>
>
>
>>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171204/e4d96d82/attachment.html>


More information about the yocto mailing list