diff options
Diffstat (limited to 'tests/auto/sensors2qmlapi')
-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" |