Fix namespaced build on macOS
Change-Id: I6c570b668fd3a182991ba79cb12ec47d4db8a541 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>bb10
parent
32ca19b2c5
commit
8d20fa11a5
|
|
@ -75,6 +75,12 @@
|
|||
|
||||
#include <QHostInfo>
|
||||
|
||||
#if defined(Q_OS_MACOS)
|
||||
#include <CoreServices/CoreServices.h>
|
||||
#include <SystemConfiguration/SystemConfiguration.h>
|
||||
#include <Security/SecKeychain.h>
|
||||
#endif
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
Q_GLOBAL_STATIC(QNetworkAccessFileBackendFactory, fileBackend)
|
||||
|
|
@ -87,11 +93,6 @@ Q_GLOBAL_STATIC(QNetworkAccessDebugPipeBackendFactory, debugpipeBackend)
|
|||
#endif
|
||||
|
||||
#if defined(Q_OS_MACX)
|
||||
|
||||
#include <CoreServices/CoreServices.h>
|
||||
#include <SystemConfiguration/SystemConfiguration.h>
|
||||
#include <Security/SecKeychain.h>
|
||||
|
||||
bool getProxyAuth(const QString& proxyHostname, const QString &scheme, QString& username, QString& password)
|
||||
{
|
||||
OSStatus err;
|
||||
|
|
|
|||
Loading…
Reference in New Issue