diff options
author | Fabian Bumberger <fbumberger@rim.com> | 2014-02-13 21:09:07 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-14 14:43:10 +0100 |
commit | 27636f0063c1acb36659dd3ecced62bf2bdb131b (patch) | |
tree | 8c350349a14e4b05898ade5fdaf0357cfbe17103 /config.tests | |
parent | a165ff0b29940a469ad8b4a46bd5dad2e2ee6d88 (diff) |
QNX: Config test for libbb2
libbb2 is not available in a public NDK yet. In order to be able to compile NFC for
BlackBerry 10 with a public NDK the BB10 implementation for the QNearfieldShareManager is only
built if libbb2 is detected.
Change-Id: Idd11d4584215fade91db9f79895f901547bce3ef
Reviewed-by: Stuart Burge <sburge@blackberry.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Reviewed-by: Wolfgang Bremer <wbremer@blackberry.com>
Diffstat (limited to 'config.tests')
-rw-r--r-- | config.tests/libbb2/libbb2.pro | 5 | ||||
-rw-r--r-- | config.tests/libbb2/main.cpp | 47 |
2 files changed, 52 insertions, 0 deletions
diff --git a/config.tests/libbb2/libbb2.pro b/config.tests/libbb2/libbb2.pro new file mode 100644 index 00000000..92c9b765 --- /dev/null +++ b/config.tests/libbb2/libbb2.pro @@ -0,0 +1,5 @@ +TEMPLATE = app + +TARGET = blackberry + +SOURCES += main.cpp diff --git a/config.tests/libbb2/main.cpp b/config.tests/libbb2/main.cpp new file mode 100644 index 00000000..0f7707f8 --- /dev/null +++ b/config.tests/libbb2/main.cpp @@ -0,0 +1,47 @@ +/**************************************************************************** +** +** Copyright (C) 2014 BlackBerry Limited. All rights reserved. +** Contact: http://www.qt-project.org/legal +** +** This file is part of the QtConnectivity module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** 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 Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/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 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Digia gives you certain additional +** rights. These rights are described in the Digia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ +#define BB_CORE_GLOBAL_HPP +#include "bb2/bb/Global" + +int main() +{ + return 0; +} |