summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDimitrios Apostolou <dimitrios.apostolou@qt.io>2019-05-27 12:17:49 +0200
committerDimitrios Apostolou <dimitrios.apostolou@qt.io>2019-05-27 12:17:49 +0200
commit73ea72612bc4f890263bc6c6435cd43802d49545 (patch)
treebdc905c2ebeb005289a0d0e425383f82a5e415d1 /tests
parent6f0873134652fb5cba3d340075fdf99989c462b4 (diff)
Remove bogus usage of QSslSocket, replace with QTcpSocket
Additionally include the forgotten header to fix compilation failures when building without OpenSSL. Change-Id: Ib761d36f676e54ede6a5c4b56bb332d6ed464b4c Reviewed-by: Brett Stottlemyer <bstottle@ford.com> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/integration_external/client/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/integration_external/client/main.cpp b/tests/auto/integration_external/client/main.cpp
index 05f7f59..3a42947 100644
--- a/tests/auto/integration_external/client/main.cpp
+++ b/tests/auto/integration_external/client/main.cpp
@@ -31,6 +31,7 @@
#include <QCoreApplication>
#include <QtRemoteObjects/qremoteobjectnode.h>
#include <QtTest/QtTest>
+#include <QTcpSocket>
const QUrl registryUrl = QUrl(QStringLiteral("tcp://127.0.0.1:65212"));
@@ -48,7 +49,7 @@ private Q_SLOTS:
[socket, this]() {
this->m_repNode.addClientSideConnection(socket);
});
- connect(socket, QOverload<QAbstractSocket::SocketError>::of(&QSslSocket::error),
+ connect(socket, QOverload<QAbstractSocket::SocketError>::of(&QTcpSocket::error),
[socket](QAbstractSocket::SocketError error) {
qDebug() << "SocketError" << error;
delete socket;