NetworkAccessBackend: Remove the backend part of the name

For consistency with naming of other plugins.

Slight compatibility break, but this is semi-private API.

[ChangeLog][Network][QNetworkAccessBackend] The NetworkAccessBackend
plugin-type is renamed to NetworkAccess, if you have a plugin marked
NetworkAccessBackend you need to change it to NetworkAccess.

Pick-to: 6.2
Change-Id: Ib5ea02f542254b0f5b8c425c89ee00075a58c956
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
bb10
Mårten Nordheim 2021-08-23 15:36:22 +02:00
parent 4fee73c444
commit 842ece2117
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
#####################################################################
qt_internal_add_module(Network
PLUGIN_TYPES networkaccessbackends networkinformation tls
PLUGIN_TYPES networkaccess networkinformation tls
SOURCES
access/qabstractnetworkcache.cpp access/qabstractnetworkcache.h access/qabstractnetworkcache_p.h
access/qhsts.cpp access/qhsts_p.h

View File

@ -107,7 +107,7 @@ Q_GLOBAL_STATIC(QNetworkAccessDebugPipeBackendFactory, debugpipeBackend)
Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader,
(QNetworkAccessBackendFactory_iid,
QLatin1String("/networkaccessbackends")))
QLatin1String("/networkaccess")))
#if defined(Q_OS_MACOS)
bool getProxyAuth(const QString& proxyHostname, const QString &scheme, QString& username, QString& password)
{