summaryrefslogtreecommitdiffstats
path: root/src/plugins/opcua/uacpp/quacppclient.cpp
diff options
context:
space:
mode:
authorGerhard Gappmeier <gerhard.gappmeier@ascolab.com>2018-10-30 09:52:25 +0100
committerMaurice Kalinowski <maurice.kalinowski@qt.io>2019-01-08 09:46:47 +0000
commit24bd9d8bf7d10b9ed6a41deac93c4608fa0b6a6a (patch)
tree5ab7f7a08e78c43046075f357f16d13957302517 /src/plugins/opcua/uacpp/quacppclient.cpp
parenteccc4e4ec11159a921e217a465cc72704ebe49d8 (diff)
Port to UASDKCPP-1.6.x
This changes header search paths and library names, which now have a cpp suffix. The code has been changed to remove the folder prefix from the includes, which are not necessary for this UA SDK. Change-Id: I313bc7c0ed8d4a17f4190540bb913cb6484a1070 Reviewed-by: Jannis Völker <jannis.voelker@basyskom.com> Reviewed-by: Rainer Keller <Rainer.Keller@qt.io>
Diffstat (limited to 'src/plugins/opcua/uacpp/quacppclient.cpp')
-rw-r--r--src/plugins/opcua/uacpp/quacppclient.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/opcua/uacpp/quacppclient.cpp b/src/plugins/opcua/uacpp/quacppclient.cpp
index 2fb0922..c7d4772 100644
--- a/src/plugins/opcua/uacpp/quacppclient.cpp
+++ b/src/plugins/opcua/uacpp/quacppclient.cpp
@@ -40,7 +40,10 @@ QUACppClient::QUACppClient(const QVariantMap &backendProperties)
: QOpcUaClientImpl()
, m_backend(new UACppAsyncBackend(this))
{
- Q_UNUSED(backendProperties);
+ if (backendProperties.value(QLatin1String("disableEncryptedPasswordCheck"), false).toBool()) {
+ qCDebug(QT_OPCUA_PLUGINS_UACPP) << "Disabling encrypted password check.";
+ m_backend->m_disableEncryptedPasswordCheck = true;
+ }
m_thread = new QThread();
connectBackendWithClient(m_backend);