From 8e569b54b505111b19576b8e9f3297ce6987aeb0 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Thu, 18 Aug 2022 11:47:17 +1000 Subject: [PATCH] Fix test_core_networkaccessmanager on qt6 --- .ci/test_blocklist_qt6.txt | 1 - src/core/qgsapplication.cpp | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.ci/test_blocklist_qt6.txt b/.ci/test_blocklist_qt6.txt index 631ff64eda1..8d78a8493b3 100644 --- a/.ci/test_blocklist_qt6.txt +++ b/.ci/test_blocklist_qt6.txt @@ -9,7 +9,6 @@ test_core_geometry test_core_labelingengine test_core_layoutpicture test_core_maprendererjob -test_core_networkaccessmanager test_core_ogcutils test_core_tiledownloadmanager test_core_vectortilelayer diff --git a/src/core/qgsapplication.cpp b/src/core/qgsapplication.cpp index b174ed8921e..b2234a320fd 100644 --- a/src/core/qgsapplication.cpp +++ b/src/core/qgsapplication.cpp @@ -111,6 +111,7 @@ #include #include #include +#include #if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) #include #endif @@ -318,6 +319,7 @@ void QgsApplication::init( QString profileFolder ) qRegisterMetaType>( "QMap" ); qRegisterMetaType>( "QMap" ); qRegisterMetaType>( "QList" ); + qRegisterMetaType< QAuthenticator * >( "QAuthenticator*" ); } ); ( void ) resolvePkgPath();