Add links to raster and opengl window examples in the QWindow docs.
authorSamuel Rødal <samuel.rodal@nokia.com>
Thu, 30 Aug 2012 12:07:59 +0000 (14:07 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 11 Sep 2012 10:09:47 +0000 (12:09 +0200)
Change-Id: I4d4ddffd6b8aa682b516b55ed2c5e71585d83bcf
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
src/gui/kernel/qwindow.cpp

index 8d8e92a..3b12768 100644 (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