qt5base-lts/config.tests
Laszlo Agocs e8364f9a4b Enable GL prototypes with recent Khronos headers
Recent Khronos headers decided to break the world by guarding all
function prototypes with GL_GLEXT_PROTOTYPES which has traditionally
been used for extension headers only.

Until this gets corrected - see
https://lists.freedesktop.org/archives/mesa-dev/2016-September/128654.html
- add the define to the config tests and qopengl.h.

While 5.7 already has some of the qopengl.h fixes due to an upgraded
ANGLE shipping with newer headers, this is a cross-platform issue that
will surface everywhere eventually. Therefore we target the full set
of fixes to 5.6.

This time we also make sure the forced define of GL_GLEXT_PROTOTYPES
is removed before including the ext header, thus apps get the ext
protos only if they actually requested them.

Task-number: QTBUG-56764
Change-Id: Ib2c6d2e7b71b8fb8683424f43e6289e64e4ee46c
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
2016-11-10 12:16:20 +00:00
..
arch Detect NEON on AArch64 2015-11-26 15:40:41 +00:00
common Merge remote-tracking branch 'origin/5.5' into 5.6 2016-01-19 10:03:01 +01:00
mac/corewlan Fixed license headers 2015-02-17 18:46:09 +00:00
qpa Make eglfs-egldevice check work with pkgconfig as well 2016-05-23 11:24:36 +00:00
unix Enable GL prototypes with recent Khronos headers 2016-11-10 12:16:20 +00:00
win/directwrite Windows: Include DirectWrite support by default if available 2015-07-21 08:21:34 +00:00
x11 Update copyright headers 2015-02-11 06:49:51 +00:00
.gitignore Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
.qmake.conf make also configure tests not see %LIB% and %INCLUDE% under mingw 2016-10-17 13:44:43 +00:00