path: root/src/plugins/platforms/windows/main.cpp
diff options
authorFriedemann Kleint <>2011-10-18 15:33:19 +0200
committerQt by Nokia <>2011-10-18 15:47:49 +0200
commitb419e567c028a6cbc2e0c30906426d12f4abc99c (patch)
tree96e657ab4b2a97b3ea15625937733407c9c9dff3 /src/plugins/platforms/windows/main.cpp
parent87274e272d2a854563066489e20d019b4e6320de (diff)
Windows platform: Improve Open GL.
- Pass on version to ARB. - Query obtained ARB format more fine-grained depending on version, indicate failures - Fix GDI contexts and introduce gl=gdi to activate the GDI functionality - Adapt window flags after setParent if top level state changes - Remove unused OpenGL flag from integration/context Change-Id: I59ca74ee1fa727bd2bcfd605b3907bc82cca18fa Reviewed-by: Friedemann Kleint <>
Diffstat (limited to 'src/plugins/platforms/windows/main.cpp')
1 files changed, 11 insertions, 0 deletions
diff --git a/src/plugins/platforms/windows/main.cpp b/src/plugins/platforms/windows/main.cpp
index 53e75c1239..69ef24be72 100644
--- a/src/plugins/platforms/windows/main.cpp
+++ b/src/plugins/platforms/windows/main.cpp
@@ -53,6 +53,17 @@ QT_BEGIN_NAMESPACE
\brief Class documentation of the Qt Lighthouse plugin for Windows.
+ \section1 Supported parameters
+ The following parameters can be passed on to the -platform argument
+ of QGuiApplication:
+ \list
+ \o \c fontengine=native Indicates that the freetype font
+ engine should not be used.
+ \o \c gl=gdi Indicates that ARB Open GL functionality should not be used
+ \endlist
\section1 Tips