summaryrefslogtreecommitdiff
path: root/config.tests
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-06-17 14:37:27 +0200
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-06-18 08:02:57 +0000
commit7a396992b19b440c236e3a8f483698fd0abee5e4 (patch)
treefd858371b1011599fb7294352d4ae806c07cd4c7 /config.tests
parent6452e1d21df010541900aa2fd4baa9e89c5fd382 (diff)
downloadqtsensors-7a396992b19b440c236e3a8f483698fd0abee5e4.tar.gz
Remove BlackBerry as supported platform from QtSensors
[ChangeLog][QtSensors][Platform Specific Changes] Removed support for BlackBerry 10 from QtSensors. Change-Id: I56788caaa53797b7d4e23bb053c3ea8b460b1341 Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/bbsensor_compass/bbsensor_compass.pro4
-rw-r--r--config.tests/bbsensor_compass/main.cpp48
-rw-r--r--config.tests/bbsensor_holster/bbsensor_holster.pro4
-rw-r--r--config.tests/bbsensor_holster/main.cpp49
4 files changed, 0 insertions, 105 deletions
diff --git a/config.tests/bbsensor_compass/bbsensor_compass.pro b/config.tests/bbsensor_compass/bbsensor_compass.pro
deleted file mode 100644
index 349130a..0000000
--- a/config.tests/bbsensor_compass/bbsensor_compass.pro
+++ /dev/null
@@ -1,4 +0,0 @@
-TEMPLATE = app
-SOURCES += main.cpp
-CONFIG += qt
-requires(blackberry)
diff --git a/config.tests/bbsensor_compass/main.cpp b/config.tests/bbsensor_compass/main.cpp
deleted file mode 100644
index ca67f7c..0000000
--- a/config.tests/bbsensor_compass/main.cpp
+++ /dev/null
@@ -1,48 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2012 Research In Motion
-** Contact: http://www.qt.io/licensing/
-**
-** This file is part of the QtSensors module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL21$
-** 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 http://www.qt.io/terms-conditions. For further
-** information use the contact form at http://www.qt.io/contact-us.
-**
-** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 2.1 or version 3 as published by the Free
-** Software Foundation and appearing in the file LICENSE.LGPLv21 and
-** LICENSE.LGPLv3 included in the packaging of this file. Please review the
-** following information to ensure the GNU Lesser General Public License
-** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-**
-** As a special exception, The Qt Company gives you certain additional
-** rights. These rights are described in The Qt Company LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-#include <QtCore/qglobal.h>
-#ifndef Q_OS_BLACKBERRY
-#error "Missing Q_OS_BLACKBERRY"
-#endif
-#include <sensor/sensor.h>
-
-int main(int argc, char** argv)
-{
- Q_UNUSED(argc);
- Q_UNUSED(argv);
- sensor_event_t event;
- sensor_type_e compass = SENSOR_TYPE_COMPASS;
- Q_UNUSED(compass);
- Q_UNUSED(event);
- return 0;
-}
diff --git a/config.tests/bbsensor_holster/bbsensor_holster.pro b/config.tests/bbsensor_holster/bbsensor_holster.pro
deleted file mode 100644
index 349130a..0000000
--- a/config.tests/bbsensor_holster/bbsensor_holster.pro
+++ /dev/null
@@ -1,4 +0,0 @@
-TEMPLATE = app
-SOURCES += main.cpp
-CONFIG += qt
-requires(blackberry)
diff --git a/config.tests/bbsensor_holster/main.cpp b/config.tests/bbsensor_holster/main.cpp
deleted file mode 100644
index aad0862..0000000
--- a/config.tests/bbsensor_holster/main.cpp
+++ /dev/null
@@ -1,49 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2013 Research In Motion
-** Contact: http://www.qt.io/licensing/
-**
-** This file is part of the QtSensors module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL21$
-** 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 http://www.qt.io/terms-conditions. For further
-** information use the contact form at http://www.qt.io/contact-us.
-**
-** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 2.1 or version 3 as published by the Free
-** Software Foundation and appearing in the file LICENSE.LGPLv21 and
-** LICENSE.LGPLv3 included in the packaging of this file. Please review the
-** following information to ensure the GNU Lesser General Public License
-** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-**
-** As a special exception, The Qt Company gives you certain additional
-** rights. These rights are described in The Qt Company LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-#include <QtCore/qglobal.h>
-#ifndef Q_OS_BLACKBERRY
-#error "Missing Q_OS_BLACKBERRY"
-#endif
-#include <sensor/sensor.h>
-
-int main(int argc, char** argv)
-{
- Q_UNUSED(argc);
- Q_UNUSED(argv);
- sensor_event_t event;
- const int type = SENSOR_TYPE_HOLSTER;
- const bool holstered = event.holster_s.holstered;
- Q_UNUSED(type);
- Q_UNUSED(holstered);
- return 0;
-}