summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@digia.com>2013-02-18 10:30:11 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-19 08:11:08 +0100
commit388f4f16b03949bbfc6bc8b18491ab16a43c484d (patch)
treeecb623ddefc17ca11a97d41b94eb869f72c711c8
parent46cc594c6753ef774fa3016c3039ebb07281a151 (diff)
Mention offscreen platform plugin in QTestLib documentation.
Change-Id: Icb82e0b4dedbe4978230cd3271f335ec07da60e4 Reviewed-by: Jason McDonald <macadder1@gmail.com>
-rw-r--r--src/testlib/doc/src/qttestlib-manual.qdoc6
1 files changed, 6 insertions, 0 deletions
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