diff options
author | Trond Kjernåsen <trond@trolltech.com> | 2009-04-14 12:02:36 (GMT) |
---|---|---|
committer | Trond Kjernåsen <trond@trolltech.com> | 2009-04-14 12:07:17 (GMT) |
commit | eb87a7003153b190d8b635563868717b58ce2faf (patch) | |
tree | a7afb77049e7797ee6c0f16cd08c97044fb2b53e | |
parent | 4db6f873386e7b21e23efb4a5ca31eb09f3dd94e (diff) | |
download | Qt-eb87a7003153b190d8b635563868717b58ce2faf.zip Qt-eb87a7003153b190d8b635563868717b58ce2faf.tar.gz Qt-eb87a7003153b190d8b635563868717b58ce2faf.tar.bz2 |
Update docs regarding sibling widgets ontop of QGLWidgets when Qt is built
with Cocoa support on Mac.
The Cocoa API doesn't have a concept of Z-ordering of widgets, and it's
implemented by reordering the widget hierarchy for normal widgets. This
does unfortunately not work for GL widgets, and it's not supported by
Apple. This apparently work with the Carbon AGL API though.
Task-number: 244890
Reviewed-by: Gunnar Sletta
BT: yes
-rw-r--r-- | src/opengl/qgl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp index 2d90342..6d75d02 100644 --- a/src/opengl/qgl.cpp +++ b/src/opengl/qgl.cpp @@ -2615,6 +2615,10 @@ const QGLContext* QGLContext::currentContext() QGLWidget. This will side-step the issue altogether, and is what we recommend for users that need this kind of functionality. + On Mac OS X, when Qt is built with Cocoa support, a QGLWidget + can't have any sibling widgets placed ontop of itself. This is due + to limitations in the Cocoa API and is not supported by Apple. + \section1 Overlays The QGLWidget creates a GL overlay context in addition to the |