Remove erroneous widget dependency for hellogles3

Pick-to: 6.5
Change-Id: I42b476be28acd5b5c68f115bd98cf5c43cd8d97b
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
This commit is contained in:
Laszlo Agocs 2023-03-22 17:08:04 +01:00
parent 9daf2744b2
commit d0dc0477b9
3 changed files with 9 additions and 3 deletions

View File

@ -2,6 +2,7 @@
# SPDX-License-Identifier: BSD-3-Clause
qt_internal_add_example(openglwindow)
qt_internal_add_example(hellogles3)
if(TARGET Qt6::Widgets)
qt_internal_add_example(contextinfo)
qt_internal_add_example(2dpainting)
@ -9,6 +10,5 @@ if(TARGET Qt6::Widgets)
qt_internal_add_example(qopenglwidget)
qt_internal_add_example(cube)
qt_internal_add_example(textures)
qt_internal_add_example(hellogles3)
qt_internal_add_example(stereoqopenglwidget)
endif()

View File

@ -18,5 +18,11 @@
\li The shader code's version directive is different.
\endlist
This example has no QWidget dependencies. Instead, it uses QOpenGLWindow, a
convenience subclass of QWindow that allows easy implementation of windows
that contain OpenGL-rendered content. In this sense it complements the
\l{OpenGL Window Example}, which shows the implementation of an OpenGL-based
QWindow without using the convenience subclass.
\image hellogles3-example.png
*/

View File

@ -1,6 +1,7 @@
TEMPLATE = subdirs
SUBDIRS = openglwindow
SUBDIRS = openglwindow \
hellogles3
qtHaveModule(widgets) {
SUBDIRS += contextinfo \
@ -9,6 +10,5 @@ qtHaveModule(widgets) {
qopenglwidget \
cube \
textures \
hellogles3 \
stereoqopenglwidget
}