diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2012-06-12 11:52:51 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-12 21:21:46 +0200 |
commit | 9f5fa80c05d034876a2cf308cf1c825cd2bc772b (patch) | |
tree | 3928a593499531afa06f74a9f441d54954bc18ec /tests/auto/qsensorgestures/tst_qsensorgesturetest.cpp | |
parent | cc6c449d5d7f7b606184ba8b6365456ad53a4a01 (diff) |
Use static plugins properly
The test case was trying to use static plugins in a rather
hacky way. Change it over to use the standard way.
Change-Id: I828e64b841b58b763018e2688553c0453abd304b
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests/auto/qsensorgestures/tst_qsensorgesturetest.cpp')
-rw-r--r-- | tests/auto/qsensorgestures/tst_qsensorgesturetest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qsensorgestures/tst_qsensorgesturetest.cpp b/tests/auto/qsensorgestures/tst_qsensorgesturetest.cpp index bd7d3354..00e8cc42 100644 --- a/tests/auto/qsensorgestures/tst_qsensorgesturetest.cpp +++ b/tests/auto/qsensorgestures/tst_qsensorgesturetest.cpp @@ -51,6 +51,9 @@ #include <qsensorgesturerecognizer.h> #include <qsensorgestureplugininterface.h> +Q_IMPORT_PLUGIN(QTestSensorGesturePlugin) +Q_IMPORT_PLUGIN(QTestSensorGestureDupPlugin) + static QString removeParens(const QString &arg) { return arg.left(arg.indexOf("(")); |