On Wed, Feb 3, 2016 at 6:54 AM, GUEYTAT Julien
<[email protected]> wrote:
> Setting properly the variable PACKAGECONFIG_GL to gles2 does NOT update 
> properly the variable QMAKE_LIBS_EGL.
> By default QMAKE_LIBS_EGL = -lEGL
> And depending on hardware... it might be something like QMAKE_LIBS_EGL = 
> -lEGL -lGLESv2 for instance.
> And this specific line... "-lEGL -lGLESv2" is only know in the provider of 
> virtual/libglesv2 ... in this case meta-raspberry.
> The BSP layer could provide a package config file which will be read to set 
> QMAKE_LIBS_EGL properly.
>
> => Which means we would need each package providing virtual/libglesv2 ... to 
> provide also a package config file.
>
> I hope it's clear now. Tell me if I missed something.

you can try my fork of meta-raspberrypi I am carrying few patches
which fix pkgconfig stuff along with wayland support (wip)

>
> -----Message d'origine-----
> De : Khem Raj [mailto:[email protected]]
> Envoyé : mercredi 3 février 2016 15:45
> À : GUEYTAT Julien
> Cc : Yannick Kiekens; [email protected]
> Objet : Re: [yocto] [meta-qt5][meta-raspberrypi]: QMAKE_LIBS_EGL not properly 
> set
>
> On Wed, Feb 3, 2016 at 3:46 AM, GUEYTAT Julien <[email protected]> 
> wrote:
>> Hi everyone,
>>
>>
>>
>> I understand that you are all rewriting the qtbase rule to include at
>> least the modification to the QMAKE_LIBS_EGL variable.
>>
>> The question is:
>>
>> Could we make somehow some work in meta-qt5 or meta-raspberrypi to not
>> have to overwrite the qtbase rule.
>
>
> I dont understand. PAKCAGECONFIGS are specifically desined for this kind of 
> scenario what problems are you seeing.
>
>>
>> For instance… meta-raspberrypi is providing a package config file for EGL.
>> May be you could have meta-qt5 read this package config.
>>
>>
>>
>> That’s the question. I’d like to know what the maintainers of those
>> two layers think about that.
>>
>>
>>
>> Best Regards,
>>
>>
>>
>> De : Yannick Kiekens [mailto:[email protected]] Envoyé :
>> mercredi 3 février 2016 08:41 À : Khem Raj Cc : GUEYTAT Julien;
>> [email protected] Objet : Re: [yocto]
>> [meta-qt5][meta-raspberrypi]: QMAKE_LIBS_EGL not properly set
>>
>>
>>
>> Have a look at this git repo:
>> https://github.com/YannickKiekens/meta-qt5-pi
>>
>> I have build a qt5 eglfs with raspberry pi2 backend on master branch
>> yesterday evening
>>
>>
>>
>> On Wed, Feb 3, 2016 at 7:08 AM, Khem Raj <[email protected]> wrote:
>>
>>
>>
>> On Feb 2, 2016, at 8:50 AM, GUEYTAT Julien
>> <[email protected]>
>> wrote:
>>
>>
>>
>> Hi,
>>
>>
>>
>> It seems that there are some stiff missing between meta-qt5 or
>> meta-raspberrypi.
>>
>> When we set the option gles… to qtbase we don’t get the QMAKE_LIBS_EGL
>> set properly.
>>
>> We can compare a working set of variables in the qt mkspecs directory of qt.
>>
>> There is one dedicated file for the RaspberryPi2. May be one also for
>> RaspberryPi.
>>
>> Anyway!
>>
>> How could we set those *_EGL variables properly? And… If they are
>> properly set, will qtbase will take them into account?
>>
>>
>>
>> I will be happy to propose a patch but I need to get more precision first.
>>
>>
>>
>> Firstly show the DISTRO_FEATURES may be you are missing some important
>> knobs for EGL
>>
>> like openGL and gles2 etc.
>>
>>
>>
>> Thanks in advance,
>>
>>
>>
>>
>>
>>
>>
>> Julien GUEYTAT
>>
>> Ingénieur Informatique
>>
>> <image001.png>
>>
>> 1027, avenue du Docteur Julien Lefebre BP27
>>
>> 06271 Villeneuve-Loubet Cedex
>>
>> Fixe :  +33 (0) 492 024 545
>> Mob :  +33(0) 617 980 383
>> Fax :    +33(0) 492 024 546
>> Email : [email protected]
>>
>> www : www.studiel.fr
>>
>> P Pensez Environnement, imprimez seulement si nécessaire
>>
>>
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> [email protected]
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>>
>>
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> [email protected]
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>>
-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to