diff options
author | Jake Petroules <jake.petroules@qt.io> | 2016-08-24 16:23:04 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-08-26 22:49:41 +0000 |
commit | b5dd4bff480b246bf1d7d7815aa81878b7feacae (patch) | |
tree | e7dd463050ed6a03f7a4d5989d3af80b713eac0a /src/network | |
parent | 2e3a58501395ef3812ca987bec093ff286cb63f1 (diff) |
Don't link to SystemConfiguration on watchOS at all
Frameworks are not available on Apple platforms on a device vs simulator
basis. The documentation states that SystemConfiguration is not
available on watchOS:
https://developer.apple.com/reference/systemconfiguration?language=objc
Therefore, it not should be linked to at all. It's only actually used
on macOS, so don't link to it on iOS or tvOS either.
Change-Id: I6f550fd7ddc9b73368cc0f7f997f75ae7f113668
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/kernel/kernel.pri | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/kernel/kernel.pri b/src/network/kernel/kernel.pri index 8f37e28669..7ef387beb4 100644 --- a/src/network/kernel/kernel.pri +++ b/src/network/kernel/kernel.pri @@ -57,8 +57,7 @@ win32: { mac { LIBS_PRIVATE += -framework CoreFoundation - !uikit: LIBS_PRIVATE += -framework CoreServices - !if(watchos:CONFIG(device, simulator|device)): LIBS_PRIVATE += -framework SystemConfiguration + !uikit: LIBS_PRIVATE += -framework CoreServices -framework SystemConfiguration } osx:SOURCES += kernel/qnetworkproxy_mac.cpp |