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

Yahya Ahmed yahya.coder at gmail.com
Fri Dec 8 13:37:46 PST 2017


Hello Mohammed,

The mentioned link is using LinuxFB while what I'm trying to do is to build
Qt5 with an X11 window system like the one in core-image-x11 or
core-image-sato
It'd be great if you have any idea how to do it

Regards,‌

On Mon, Dec 4, 2017 at 1:54 PM, mohammed aqdam <mohammedaqdam at gmail.com>
wrote:

> 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
>>
>>


-- 
Yahya Ahmed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171208/78c71ac2/attachment.html>


More information about the yocto mailing list