qt5base-lts/examples/widgets/graphicsview/boxes
Simon Hausmann 38cd18384f Fix OpenGL vs. GLESv2 linkage, attempt number three
We introduced WrapOpenGL to link against either desktop GL or GLESv2
depending on the GL feature in QtGui. This works "fine", with two
caveats:

    (1) find_package(WrapOpenGL) must be called after
    find_package(Qt5Gui) in order for the feature check in
    FindWrapOpenGL.cmake to work. That's error prone.

    (2) More and more places are popping up, in particular examples,
    where GL linkage is required due to inline functions in Qt that
    forward to GL functions - such as on Android.

    This in particular explains the qmake behavior of making the GL
    linkage (desktop _or_ GLES) a public dependency of QtGui, so only
    Gui linkage is required.

Those two aspects combined are the nail in the coffin of FindWrapOpenGL
and it would seem much easier to simply make the Desktop GL vs. GLES
decision once in Gui's CMakeLists.txt and let Qt5GuiDependencies.cmake
propagate this well. This allows us to get rid of plenty of special
cases as well.

Change-Id: I3a7e8af49537ce5f215f24470e075a4ae9aeb944
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2019-06-05 09:38:02 +00:00
..
3rdparty Remove some more register keywords 2017-05-06 16:59:18 +00:00
basic.fsh Updated license headers 2016-01-21 18:55:32 +00:00
basic.vsh Updated license headers 2016-01-21 18:55:32 +00:00
boxes.pro qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
boxes.qrc
CMakeLists.txt Fix OpenGL vs. GLESv2 linkage, attempt number three 2019-06-05 09:38:02 +00:00
cubemap_negx.jpg
cubemap_negy.jpg
cubemap_negz.jpg
cubemap_posx.jpg
cubemap_posy.jpg
cubemap_posz.jpg
dotted.fsh Updated license headers 2016-01-21 18:55:32 +00:00
fresnel.fsh Updated license headers 2016-01-21 18:55:32 +00:00
glass.fsh Updated license headers 2016-01-21 18:55:32 +00:00
glbuffers.cpp Cleanup Widgets examples - foreach 2019-01-23 18:49:02 +00:00
glbuffers.h Cleanup Widgets examples - foreach 2019-01-23 18:49:02 +00:00
glextensions.cpp Updated license headers 2016-01-21 18:55:32 +00:00
glextensions.h glextensions.h: simplify #if-ery to avoid conflict 2018-05-31 15:51:55 +00:00
gltrianglemesh.h Updated license headers 2016-01-21 18:55:32 +00:00
granite.fsh Updated license headers 2016-01-21 18:55:32 +00:00
main.cpp Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
marble.fsh Updated license headers 2016-01-21 18:55:32 +00:00
parameters.par
qt-logo.jpg New Qt logo 2014-11-05 08:10:42 +01:00
qt-logo.png New Qt logo 2014-11-05 08:10:42 +01:00
qtbox.cpp Cleanup Widgets examples - foreach 2019-01-23 18:49:02 +00:00
qtbox.h Examples: Remove a redundant virtual specifier for overriders 2016-11-25 22:36:21 +00:00
reflection.fsh Updated license headers 2016-01-21 18:55:32 +00:00
refraction.fsh Updated license headers 2016-01-21 18:55:32 +00:00
roundedbox.cpp Updated license headers 2016-01-21 18:55:32 +00:00
roundedbox.h Updated license headers 2016-01-21 18:55:32 +00:00
scene.cpp Cleanup Widgets examples - foreach 2019-01-23 18:49:02 +00:00
scene.h Be (somewhat more) consistent about the value of pi 2017-06-20 09:53:46 +00:00
smiley.png
square.jpg
trackball.cpp Exploit QVector3D::length() instead of duplicating its work 2017-07-07 18:09:08 +00:00
trackball.h Updated license headers 2016-01-21 18:55:32 +00:00
wood.fsh Updated license headers 2016-01-21 18:55:32 +00:00