From 388f4f16b03949bbfc6bc8b18491ab16a43c484d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Mon, 18 Feb 2013 10:30:11 +0100 Subject: Mention offscreen platform plugin in QTestLib documentation. Change-Id: Icb82e0b4dedbe4978230cd3271f335ec07da60e4 Reviewed-by: Jason McDonald --- src/testlib/doc/src/qttestlib-manual.qdoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/testlib/doc/src/qttestlib-manual.qdoc b/src/testlib/doc/src/qttestlib-manual.qdoc index 70bc6112c0..9d4a34c9d4 100644 --- a/src/testlib/doc/src/qttestlib-manual.qdoc +++ b/src/testlib/doc/src/qttestlib-manual.qdoc @@ -247,6 +247,12 @@ 2000. \li \c -nocrashhandler \br Disables the crash handler on Unix platforms. + \li \c -platform \e name \br + This command line argument applies to all Qt applications, but might be + especially useful in the context of auto-testing. By using the "offscreen" + platform plugin (-platform offscreen) it's possible to have tests that use + QWidget or QWindow run without showing anything on the screen. Currently + the offscreen platform plugin is only fully supported on X11. \endlist \section3 Benchmarking Options -- cgit v1.2.3