e48737ae77
[ChangeLog] Added QOpenGLWindow. This serves as a convenience class for creating windows showing OpenGL content via an API similar to QGLWidget and without any widget dependencies. Done-with: Jorgen Lind <jorgen.lind@digia.com> Task-number: QTBUG-36899 Change-Id: I52e9bc61acb129dbfd3841b3adeffab2dbcf7f05 Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
31 lines
754 B
Prolog
31 lines
754 B
Prolog
requires(qtHaveModule(opengl))
|
|
|
|
TEMPLATE = subdirs
|
|
|
|
contains(QT_CONFIG, dynamicgl) {
|
|
SUBDIRS = hellowindow \
|
|
contextinfo \
|
|
qopenglwidget \
|
|
threadedqopenglwidget \
|
|
qopenglwindow
|
|
} else: !contains(QT_CONFIG, opengles2) {
|
|
SUBDIRS = 2dpainting \
|
|
grabber \
|
|
hellogl \
|
|
overpainting \
|
|
pbuffers \
|
|
framebufferobject2 \
|
|
samplebuffers
|
|
}
|
|
|
|
!contains(QT_CONFIG, dynamicgl): SUBDIRS += hellowindow \
|
|
paintedwindow \
|
|
contextinfo \
|
|
cube \
|
|
textures \
|
|
qopenglwidget \
|
|
threadedqopenglwidget \
|
|
qopenglwindow
|
|
|
|
EXAMPLE_FILES = shared
|