diff options
author | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2017-12-06 13:56:52 +0100 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2018-02-26 12:05:36 +0000 |
commit | e6410a0fed4c7f43df28dfbf6e02e6db0e145971 (patch) | |
tree | 7de4dd23a97729d86a725cdcc7896c79b718547b /config.tests/uacpp | |
parent | ed0a475529f2ec7be427900b08dfedb1d47e7c9a (diff) |
Add Unified Automation C++ SDK backendv5.11.0-beta1
This change introduces support for the OpcUA client implementation by
Unified Automation, more specifically the C++ SDK version 1.5.6-361.
Currently the Windows and CentOS7 versions are supported.
Change-Id: I48f7963bfd7b080bfecc03f57889faba6f3b4ec5
Reviewed-by: Jannis Völker <jannis.voelker@basyskom.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'config.tests/uacpp')
-rw-r--r-- | config.tests/uacpp/main.cpp | 53 | ||||
-rw-r--r-- | config.tests/uacpp/uacpp.pro | 6 |
2 files changed, 59 insertions, 0 deletions
diff --git a/config.tests/uacpp/main.cpp b/config.tests/uacpp/main.cpp new file mode 100644 index 0000000..edda47f --- /dev/null +++ b/config.tests/uacpp/main.cpp @@ -0,0 +1,53 @@ +/**************************************************************************** +** +** Copyright (C) 2018 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the QtOpcUa module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** 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 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later 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 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include <stdio.h> + +#include <uaplatformlayer.h> +#include <uastring.h> +#include <uasession.h> + +using namespace UaClientSdk; + +int main(int /*argc*/, char ** /*argv*/) +{ + + UaPlatformLayer::init(); + UaSession *session = new UaSession; + + UaPlatformLayer::cleanup(); + return 0; +} diff --git a/config.tests/uacpp/uacpp.pro b/config.tests/uacpp/uacpp.pro new file mode 100644 index 0000000..5a3ba9e --- /dev/null +++ b/config.tests/uacpp/uacpp.pro @@ -0,0 +1,6 @@ +SOURCES += main.cpp + +CONFIG(debug, debug|release): \ + LIBS += $$LIBS_DEBUG +else: \ + LIBS += $$LIBS_RELEASE |