From b5dd4bff480b246bf1d7d7815aa81878b7feacae Mon Sep 17 00:00:00 2001 From: Jake Petroules Date: Wed, 24 Aug 2016 16:23:04 -0700 Subject: [PATCH] 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 Reviewed-by: Gabriel de Dietrich --- src/network/kernel/kernel.pri | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/network/kernel/kernel.pri b/src/network/kernel/kernel.pri index 8f37e286694..7ef387beb43 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