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>
This commit is contained in:
parent
2e3a585013
commit
b5dd4bff48
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user