- 
    Bug 
- 
    Resolution: Done
- 
    P2: Important 
- 
    5.5.1, 5.6.0
- 
    Yocto
 branch: jethro and krogoth
 layer: meta-qt5
 branch: master
 layer: meta-raspberrypi
 option: gles2
- 
        4940194a35a5776aaaf7959441af58c0a4c04247
In order to have the recipe qtbase compiling it is necessary to add -lGLESv2 to the QMAKE_LIBS_EGL variable.
Right now... when I add the option gles2 we get only the -lEGL. I was more expecting something like -lGLESv2.
If we have a look to the mkspecs of the pi2, we can see:
QMAKE_LIBS_EGL = "-lEGL -lGLESv2"
It seems weird to add the library GLESv2 when we select the exact name option.
The problem might be somewhere in meta-qt5, meta-raspberrypi or qtbase.
- resulted in
- 
                    QTBUG-52739 must not use pkg-config to find EGL on Raspberry Pi -         
- Closed
 
-         
| For Gerrit Dashboard: QTBUG-50838 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 166152,4 | Use pkg-config for RPi EGL detection | dev | qt/qtbase | Status: MERGED | +2 | 0 |