Re: [Development] GL headers in Qt5GuiConfigExtras.cmake

2014-02-13 Thread Peter Kuemmel
> > So, what should it *actually* be? Is it a bug that it is one value instead of > the other? > > Where is it set to what it is set to? I've uploaded a patch for further discussion: https://codereview.qt-project.org/#change,78038 > > Thanks, > > -- > Stephen Kelly | Software Engineer > KD

Re: [Development] GL headers in Qt5GuiConfigExtras.cmake

2014-02-12 Thread Stephen Kelly
On Wednesday, February 12, 2014 15:11:25 Peter Kuemmel wrote: > > Gesendet: Mittwoch, 12. Februar 2014 um 14:14 Uhr > > Von: "Stephen Kelly" > > An: development@qt-project.org > > Betreff: Re: [Development] GL headers in Qt5GuiConfigExtras.cmake > > >

Re: [Development] GL headers in Qt5GuiConfigExtras.cmake

2014-02-12 Thread Peter Kuemmel
> Gesendet: Mittwoch, 12. Februar 2014 um 14:14 Uhr > Von: "Stephen Kelly" > An: development@qt-project.org > Betreff: Re: [Development] GL headers in Qt5GuiConfigExtras.cmake > > On Wednesday, February 12, 2014 14:00:11 Peter Kuemmel wrote: > > > &g

Re: [Development] GL headers in Qt5GuiConfigExtras.cmake

2014-02-12 Thread Stephen Kelly
On Wednesday, February 12, 2014 14:00:11 Peter Kuemmel wrote: > > > and QMAKE_INCDIR_OPENGL_ES2 is set by configure to > > > QMAKE_INCDIR_OPENGL_ES2 = ".../sysroot/usr/include/GLES2" > > > > Is this correct? > > Yes, in this directory is gl2.h. I don't think I got my point across. Would QMAKE

Re: [Development] GL headers in Qt5GuiConfigExtras.cmake

2014-02-12 Thread Peter Kuemmel
> > and QMAKE_INCDIR_OPENGL_ES2 is set by configure to > > QMAKE_INCDIR_OPENGL_ES2 = ".../sysroot/usr/include/GLES2" > > Is this correct? Yes, in this directory is gl2.h. > > Thanks, > > -- > Stephen Kelly | Software Engineer > KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company > www.kda

Re: [Development] GL headers in Qt5GuiConfigExtras.cmake

2014-02-12 Thread Stephen Kelly
On Wednesday, February 12, 2014 12:11:42 Peter Kuemmel wrote: > and QMAKE_INCDIR_OPENGL_ES2 is set by configure to > QMAKE_INCDIR_OPENGL_ES2 = ".../sysroot/usr/include/GLES2" Is this correct? Thanks, -- Stephen Kelly | Software Engineer KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company w

Re: [Development] GL headers in Qt5GuiConfigExtras.cmake

2014-02-12 Thread Peter Kuemmel
> > 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 CMA

Re: [Development] GL headers in Qt5GuiConfigExtras.cmake

2014-02-12 Thread Stephen Kelly
On Wednesday, February 12, 2014 09:19:35 Peter Kuemmel wrote: > I build 5.2.1 for a embedded system and the generated > Qt5GuiConfigExtras.cmake fails to find GLES2/gl2.h. > > The reason is that the including dir GLES2 is used twice in the find > command You'll need to find out why it's generated

[Development] GL headers in Qt5GuiConfigExtras.cmake

2014-02-12 Thread Peter Kuemmel
I build 5.2.1 for a embedded system and the generated Qt5GuiConfigExtras.cmake fails to find GLES2/gl2.h. The reason is that the including dir GLES2 is used twice in the find command, "GLES2/gl2.h" is searched for in "/usr/include/GLES2", but there is no "/usr/include/GLES2/GLES2/gl2.h": set(_GL