Add links to raster and opengl window examples in the QWindow docs.

Change-Id: I4d4ddffd6b8aa682b516b55ed2c5e71585d83bcf
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
This commit is contained in:
Samuel Rødal 2012-08-30 14:07:59 +02:00 committed by Qt by Nokia
parent 8fe1d9fb13
commit af33765b57

View File

@ -72,6 +72,14 @@ QT_BEGIN_NAMESPACE
A window that is supplied a parent becomes a native child window of
their parent window.
An application will typically use QWidget or QQuickView for its UI, and not
QWindow directly. Still, it is possible to render directly to a QWindow
with QBackingStore or QOpenGLContext, when wanting to keep dependencies to
a minimum or when wanting to use OpenGL directly. The
\l{gui/rasterwindow}{Raster Window} and \l{gui/openglwindow}{OpenGL Window}
examples are useful reference examples for how to render to a QWindow using
either approach.
\section1 Resource management
Windows can potentially use a lot of memory. A usual measurement is