diff options
author | Petri Kiiskinen <ext-petri.ak.kiiskinen@nokia.com> | 2009-09-29 09:06:40 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-09-29 09:07:27 (GMT) |
commit | d2459611fd3650d8c80a3ccafd9ec3d58457a888 (patch) | |
tree | 7b154874c33075fe54c1cf9619b24e9f500b84a0 /src/gui/kernel/qapplication_p.h | |
parent | 777c02085e0f30d0dceb57a9ac96a44999b4a028 (diff) | |
download | Qt-d2459611fd3650d8c80a3ccafd9ec3d58457a888.zip Qt-d2459611fd3650d8c80a3ccafd9ec3d58457a888.tar.gz Qt-d2459611fd3650d8c80a3ccafd9ec3d58457a888.tar.bz2 |
Add the -testability option to Qt applications.
If this option is given, Qt will load a plugin called "qttestability"
and run an initialisation function from it. This allows one to just
install the plugin in a non-debug device in order to enable testing.
Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
Diffstat (limited to 'src/gui/kernel/qapplication_p.h')
-rw-r--r-- | src/gui/kernel/qapplication_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication_p.h b/src/gui/kernel/qapplication_p.h index aec21fd..6036196 100644 --- a/src/gui/kernel/qapplication_p.h +++ b/src/gui/kernel/qapplication_p.h @@ -452,6 +452,7 @@ public: static bool fade_tooltip; static bool animate_toolbox; static bool widgetCount; // Coupled with -widgetcount switch + static bool load_testability; // Coupled with -testability switch #ifdef Q_WS_MAC static bool native_modal_dialog_active; #endif |