diff options
Diffstat (limited to 'tests/auto/qsensor')
-rw-r--r-- | tests/auto/qsensor/CMakeLists.txt | 19 | ||||
-rw-r--r-- | tests/auto/qsensor/qsensor.pro | 27 |
2 files changed, 19 insertions, 27 deletions
diff --git a/tests/auto/qsensor/CMakeLists.txt b/tests/auto/qsensor/CMakeLists.txt new file mode 100644 index 00000000..3cdb4cf8 --- /dev/null +++ b/tests/auto/qsensor/CMakeLists.txt @@ -0,0 +1,19 @@ +##################################################################### +## tst_qsensor Test: +##################################################################### + +qt_internal_add_test(tst_qsensor + SOURCES + test_backends.cpp test_backends.h + test_sensor.cpp test_sensor.h test_sensor_p.h + test_sensor2.cpp test_sensor2.h test_sensor2_p.h + test_sensor2impl.cpp test_sensor2impl.h + test_sensorimpl.cpp test_sensorimpl.h + test_sensorplugin.cpp + tst_qsensor.cpp + DEFINES + QT_STATICPLUGIN + PUBLIC_LIBRARIES + Qt::CorePrivate + Qt::SensorsPrivate +) diff --git a/tests/auto/qsensor/qsensor.pro b/tests/auto/qsensor/qsensor.pro deleted file mode 100644 index 1366a5df..00000000 --- a/tests/auto/qsensor/qsensor.pro +++ /dev/null @@ -1,27 +0,0 @@ -TEMPLATE = app -TARGET = tst_qsensor - -CONFIG += testcase -QT = core-private testlib sensors-private -DEFINES += QT_STATICPLUGIN - -SOURCES += \ - tst_qsensor.cpp - -HEADERS += \ - test_sensor.h\ - test_sensor_p.h\ - test_sensorimpl.h\ - test_sensor2.h\ - test_sensor2_p.h\ - test_sensor2impl.h\ - test_backends.h - -SOURCES += \ - test_sensor.cpp\ - test_sensorimpl.cpp\ - test_sensor2.cpp\ - test_sensor2impl.cpp\ - test_sensorplugin.cpp\ - test_backends.cpp - |