diff options
Diffstat (limited to 'tests/auto/qsensor/tst_qsensor.cpp')
-rw-r--r-- | tests/auto/qsensor/tst_qsensor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qsensor/tst_qsensor.cpp b/tests/auto/qsensor/tst_qsensor.cpp index ff495a07..9e8c87a4 100644 --- a/tests/auto/qsensor/tst_qsensor.cpp +++ b/tests/auto/qsensor/tst_qsensor.cpp @@ -54,6 +54,8 @@ #include "test_sensorimpl.h" #include "test_backends.h" +QT_BEGIN_NAMESPACE + // The unit test needs to change the behaviour of the library. It does this // through an exported but undocumented function. Q_SENSORS_EXPORT void sensors_unit_test_hook(int index); @@ -945,6 +947,8 @@ private slots: } }; +QT_END_NAMESPACE + QTEST_MAIN(tst_QSensor) #include "tst_qsensor.moc" |