> > set(_GL_INCDIRS "/usr/include/GLES2")
>
> Where does this come from?
Generated by Qt5GuiConfigExtras.cmake.in
set(_GL_INCDIRS $$CMAKE_GL_INCDIRS)
find_path(_qt5gui_OPENGL_INCLUDE_DIR $$CMAKE_GL_HEADER_NAME
PATHS ${_GL_INCDIRS}
!!IF !mac
NO_DEFAULT_PATH
!!ENDIF
)
gui.pro defines CMAKE_GL_INCDIRS and CMAKE_GL_HEADER_NAME:
!isEmpty(QMAKE_INCDIR_OPENGL_ES2): CMAKE_GL_INCDIRS =
$$cmakeTargetPaths($$QMAKE_INCDIR_OPENGL_ES2)
...
CMAKE_GL_HEADER_NAME = GLES2/gl2.h
and QMAKE_INCDIR_OPENGL_ES2 is set by configure to
QMAKE_INCDIR_OPENGL_ES2 = ".../sysroot/usr/include/GLES2"
So, I would say there is one GLES2 too much in gui.pro.
I only wonder why it works for others (or maybe it is not used at all)
>
> Thanks,
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development