summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2022-06-09 22:44:39 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-06-25 15:28:50 +0000
commit8ad0ff9ae145ad9d0857f8f0a8edf1f1f6c9aac1 (patch)
treef61e3f78ced65814646e389f8109bf24548f35c5
parentdd26c4234bdd41b18dedd60b88b49e18a94d80d7 (diff)
QNetworkReply: Fix the test compilation
It would not compile on my Linux box due to using QVariantMap, but not actually including QMap itself. Using gcc 9.3.1 on CentOS 7. Change-Id: I808a270c814a906030cb34b197d3a2a85ba384e1 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Jesus Fernandez <jsfdez@gmail.com> (cherry picked from commit 0a78cb7fab7b2d093f53be06839b08bca08077ea) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp
index c8107f39fb..f97fe88fdd 100644
--- a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp
+++ b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp
@@ -14,6 +14,7 @@
#include <QWaitCondition>
#include <QScopeGuard>
#include <QBuffer>
+#include <QMap>
#include <QtCore/qlist.h>
#include <QtCore/qset.h>