diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2012-08-30 14:07:59 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-09-11 12:09:47 +0200 |
commit | af33765b577bb3b8049f95ee40dc66d3f93ca969 (patch) | |
tree | a36b0909bb6a7c98809d6620247505b1f3023a26 /src/gui | |
parent | 8fe1d9fb136786986fa2f9e23e4212dba5647836 (diff) |
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>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qwindow.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/kernel/qwindow.cpp b/src/gui/kernel/qwindow.cpp index 8d8e92a4bb..3b12768678 100644 --- a/src/gui/kernel/qwindow.cpp +++ b/src/gui/kernel/qwindow.cpp @@ -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 |