The eglconvenience code includes <EGL/egl.h>. Therefore, it should get the appropriate EGL-specific include paths from QMAKE_INCDIR_EGL, otherwise the build might if the EGL library has its headers in special locations. In order to achieve this, we simply add the "egl" feature to the list of features imported by eglconvenience.
Signed-off-by: Thomas Petazzoni <[email protected]> --- .../eglconvenience/eglconvenience.pri | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platformsupport/eglconvenience/eglconvenience.pri b/src/platformsupport/eglconvenience/eglconvenience.pri index 188eb1c..8996cea 100644 --- a/src/platformsupport/eglconvenience/eglconvenience.pri +++ b/src/platformsupport/eglconvenience/eglconvenience.pri @@ -5,6 +5,7 @@ contains(QT_CONFIG,egl) { SOURCES += \ $$PWD/qeglconvenience.cpp \ $$PWD/qeglplatformcontext.cpp + CONFIG += egl contains(QT_CONFIG,xlib) { HEADERS += \ -- 1.7.9.5 _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
