diff options
author | Toby Tomkins <toby.tomkins@nokia.com> | 2011-11-23 13:05:24 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-25 00:05:34 +0100 |
commit | 7ea382b5eadb0476d17626ddeb62490d9f4fcaf6 (patch) | |
tree | 879f95296c4dc67542e0f2820cc459394c3893d1 /tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp | |
parent | f0b3d0f65e1be0bc15c5686baa125a2d4a0354b8 (diff) |
Fixed QtSensors autotest namespace compilation.
Change-Id: Iaf903df5b74f8793e74a633cf4d42306d1e30263
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Diffstat (limited to 'tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp')
-rw-r--r-- | tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp b/tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp index 568019b8..6c1e085b 100644 --- a/tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp +++ b/tests/auto/sensors2qmlapi/tst_sensors2qmlapi.cpp @@ -57,6 +57,8 @@ QDeclAccelerometer* TestSensorPlugin::stAccel = 0; QDeclAmbientLightSensor* TestSensorPlugin::stAbl = 0; QDeclProximitySensor* TestSensorPlugin::stProxi = 0; +QT_BEGIN_NAMESPACE + Q_SENSORS_EXPORT void sensors_unit_test_hook(int index); class tst_Sensors2QMLAPI : public QObject @@ -620,6 +622,7 @@ void tst_Sensors2QMLAPI::testGesture() QCOMPARE(spy2_detected.count(), 1); } +QT_END_NAMESPACE QTEST_MAIN(tst_Sensors2QMLAPI) #include "tst_sensors2qmlapi.moc" |