summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/access/http2
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@digia.com>2016-08-15 08:44:54 +0200
committerLiang Qi <liang.qi@qt.io>2016-08-15 07:59:32 +0000
commitbdc16cce7972cdd0bd02b58077a8dd465036632c (patch)
treef4fcbdd45c228266f17c66fce3abee786315434b /tests/auto/network/access/http2
parent12eacc3bab00f23d187a295b35e4a0d283ba85f4 (diff)
HTTP/2 - fix QT_NO_SSL build
Recently enabled cleartext fails to build with QT_NO_SSL - fix test and QNAM. Change-Id: I467edab8e4eb5113715ad2d3b3022e0d8c027de8 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/network/access/http2')
-rw-r--r--tests/auto/network/access/http2/http2srv.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/network/access/http2/http2srv.cpp b/tests/auto/network/access/http2/http2srv.cpp
index 480fe3467e..9bc7c38875 100644
--- a/tests/auto/network/access/http2/http2srv.cpp
+++ b/tests/auto/network/access/http2/http2srv.cpp
@@ -35,10 +35,11 @@
#ifndef QT_NO_SSL
#include <QtNetwork/qsslconfiguration.h>
+#include <QtNetwork/qsslsocket.h>
#include <QtNetwork/qsslkey.h>
#endif
-#include <QtNetwork/qabstractsocket.h>
+#include <QtNetwork/qtcpsocket.h>
#include <QtCore/qdebug.h>
#include <QtCore/qlist.h>