>
> 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
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
> >
>
> 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
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
> > 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
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
> > 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
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
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