diff options
author | Lorn Potter <lorn.potter@gmail.com> | 2021-01-06 07:30:03 +1000 |
---|---|---|
committer | Juha Vuolle <juha.vuolle@insta.fi> | 2021-04-19 13:29:47 +0300 |
commit | 45c8ae3232df8955644697ee88c4321f26bb5cf2 (patch) | |
tree | 77edea26c249ce6bb8a921fe67c266d3c95e094a /tests/auto/qtsensors5 | |
parent | 5a8aa096dc61336ac95734e8cc61f106e359c865 (diff) |
QtSensors initial cmake support
This commit introduces the bare minimum cmake support that should
unblock the CI and allow further verification and development on most
platforms: macOS, Linux, Win, iOS and Android.
Some clarifications:
* The support for sensorfw backend is very preliminary and can
be enabled later if needed (no Qt6 version of the sensorfw).
* The simulator backend is dropped as obsolete / unnecessary.
* Three examples are currently commented out and shall be ported with
a later commit.
Task-number: QTBUG-92502
Change-Id: Id523d43ed3ef177010dc73afc5812ed374cff0dd
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/qtsensors5')
-rw-r--r-- | tests/auto/qtsensors5/qtsensors5.pro | 6 | ||||
-rw-r--r-- | tests/auto/qtsensors5/tst_qtsensors5.cpp | 54 |
2 files changed, 0 insertions, 60 deletions
diff --git a/tests/auto/qtsensors5/qtsensors5.pro b/tests/auto/qtsensors5/qtsensors5.pro deleted file mode 100644 index a5101024..00000000 --- a/tests/auto/qtsensors5/qtsensors5.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE=app -TARGET=tst_qtsensors5 -!no_system_tests:CONFIG += testcase -QT = core testlib qml -SOURCES += tst_qtsensors5.cpp - diff --git a/tests/auto/qtsensors5/tst_qtsensors5.cpp b/tests/auto/qtsensors5/tst_qtsensors5.cpp deleted file mode 100644 index 01ed6140..00000000 --- a/tests/auto/qtsensors5/tst_qtsensors5.cpp +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtSensors module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include <QtTest/QtTest> -#include <QQmlEngine> -#include <QQmlComponent> - -class tst_QtSensors : public QObject -{ - Q_OBJECT -public: - tst_QtSensors(QObject *parent = 0) - : QObject(parent) - { - } - -private slots: - void initTestCase() - { - } - - void cleanupTestCase() - { - } -}; - -QTEST_MAIN(tst_QtSensors) - -#include "tst_qtsensors5.moc" |