cd corewlan/ && ( test -e Makefile || /Users/sn/Dev/Qt/src/5.1.1/qtbase/bin/qmake /Users/sn/Dev/Qt/src/5.1.1/qtbase/src/plugins/bearer/corewlan/corewlan.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.Debug all objective-c qcorewlanengine.mm In file included from qcorewlanengine.mm:42: In file included from ./qcorewlanengine.h:45: In file included from ./../qbearerengine_impl.h:45: In file included from ../../../../include/QtNetwork/5.1.1/QtNetwork/private/qbearerengine_p.h:1: In file included from ../../../../include/QtNetwork/5.1.1/QtNetwork/private/../../../../../src/network/bearer/qbearerengine_p.h:56: In file included from ../../../../include/QtNetwork/5.1.1/QtNetwork/private/../../../../../src/network/bearer/qnetworkconfiguration_p.h:56: In file included from ../../../../include/QtNetwork/5.1.1/QtNetwork/private/../../../../../src/network/bearer/qnetworkconfiguration.h:45: In file included from ../../../../include/QtCore/qglobal.h:1: In file included from ../../../../include/QtCore/../../src/corelib/global/qglobal.h:70: In file included from ../../../../include/QtCore/qsystemdetection.h:1: ../../../../include/QtCore/../../src/corelib/global/qsystemdetection.h:243:6: warning: "This version of OS X is unsupported" [-W#warnings] # warning "This version of OS X is unsupported" ^ qcorewlanengine.mm:97:88: error: use of undeclared identifier 'kCWPowerDidChangeNotification'; did you mean 'CWPowerDidChangeNotification'? [notificationCenter addObserver:self selector:@selector(notificationHandler:) name:kCWPowerDidChangeNotification object:nil]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CWPowerDidChangeNotification /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreWLAN.framework/Headers/CoreWLANConstants.h:27:36: note: 'CWPowerDidChangeNotification' declared here FOUNDATION_EXTERN NSString * const CWPowerDidChangeNotification NS_AVAILABLE_MAC(10_6); ^ qcorewlanengine.mm:174:26: warning: instance method '-power' not found (return type defaults to 'id') [-Wobjc-method-access] if([currentInterface power]) { ^~~~~ qcorewlanengine.mm:177:67: error: use of undeclared identifier 'kCWScanKeyMerge' [NSNumber numberWithBool:YES], kCWScanKeyMerge, ^ qcorewlanengine.mm:181:46: warning: instance method '-scanForNetworksWithParameters:error:' not found (return type defaults to 'id') [-Wobjc-method-access] NSArray* apArray = [currentInterface scanForNetworksWithParameters:parametersDict error:&err]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qcorewlanengine.mm:195:39: error: property 'interfaceState' not found on object of type 'CWInterface *'; did you mean 'interfaceName'? if( [currentInterface.interfaceState intValue] == kCWInterfaceStateRunning) { ^~~~~~~~~~~~~~ interfaceName /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreWLAN.framework/Headers/CWInterface.h:52:37: note: 'interfaceName' declared here @property(readonly, copy) NSString *interfaceName NS_AVAILABLE_MAC(10_7); ^ qcorewlanengine.mm:195:67: error: use of undeclared identifier 'kCWInterfaceStateRunning' if( [currentInterface.interfaceState intValue] == kCWInterfaceStateRunning) { ^ qcorewlanengine.mm:208:32: warning: 'CWNetwork' may not respond to 'securityMode' if([[apNetwork securityMode] intValue] == kCWSecurityModeOpen) { ~~~~~~~~~ ^ qcorewlanengine.mm:208:32: warning: 'securityMode' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreWLAN.framework/Headers/CWWirelessProfile.h:37:40: note: method 'securityMode' declared here @property(readwrite, retain) NSNumber *securityMode NS_DEPRECATED_MAC(10_6, 10_7); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreWLAN.framework/Headers/CWWirelessProfile.h:37:40: note: property 'securityMode' is declared deprecated here qcorewlanengine.mm:208:59: error: use of undeclared identifier 'kCWSecurityModeOpen'; did you mean 'kCWSecurityNone'? if([[apNetwork securityMode] intValue] == kCWSecurityModeOpen) { ^~~~~~~~~~~~~~~~~~~ kCWSecurityNone /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreWLAN.framework/Headers/CoreWLANTypes.h:143:2: note: 'kCWSecurityNone' declared here kCWSecurityNone = 0, ^ qcorewlanengine.mm:238:35: error: property 'interfaceState' not found on object of type 'CWInterface *'; did you mean 'interfaceName'? if( [currentInterface.interfaceState intValue] == kCWInterfaceStateRunning) { ^~~~~~~~~~~~~~ interfaceName /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreWLAN.framework/Headers/CWInterface.h:52:37: note: 'interfaceName' declared here @property(readonly, copy) NSString *interfaceName NS_AVAILABLE_MAC(10_7); ^ qcorewlanengine.mm:238:63: error: use of undeclared identifier 'kCWInterfaceStateRunning' if( [currentInterface.interfaceState intValue] == kCWInterfaceStateRunning) { ^ qcorewlanengine.mm:301:44: warning: class method '+supportedInterfaces' not found (return type defaults to 'id') [-Wobjc-method-access] NSArray *wifiInterfaces = [CWInterface supportedInterfaces]; ^~~~~~~~~~~~~~~~~~~ qcorewlanengine.mm:305:30: warning: instance method '-power' not found (return type defaults to 'id') [-Wobjc-method-access] if ( ![wifiInterface power] ) ^~~~~ qcorewlanengine.mm:308:52: warning: 'CWInterface' may not respond to 'name' NSString *nsInterfaceName = [wifiInterface name]; ~~~~~~~~~~~~~ ^ qcorewlanengine.mm:445:22: warning: class method '+supportedInterfaces' not found (return type defaults to 'id') [-Wobjc-method-access] if([[CWInterface supportedInterfaces] count] > 0 && !listener) { ^~~~~~~~~~~~~~~~~~~ qcorewlanengine.mm:482:24: warning: instance method '-power' not found (return type defaults to 'id') [-Wobjc-method-access] if ([wifiInterface power]) { ^~~~~ qcorewlanengine.mm:495:46: warning: 'allUser8021XProfiles' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] NSArray *array = [CW8021XProfile allUser8021XProfiles]; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreWLAN.framework/Headers/CW8021XProfile.h:98:1: note: method 'allUser8021XProfiles' declared here + (NSArray*)allUser8021XProfiles NS_DEPRECATED_MAC(10_6, 10_7); ^ qcorewlanengine.mm:509:70: error: use of undeclared identifier 'kCWAssocKey8021XProfile' [params setValue: [array objectAtIndex:i] forKey:kCWAssocKey8021XProfile]; ^ qcorewlanengine.mm:530:72: error: use of undeclared identifier 'kCWScanKeyMerge' [NSNumber numberWithBool:YES], kCWScanKeyMerge, ^ qcorewlanengine.mm:536:45: warning: instance method '-scanForNetworksWithParameters:error:' not found (return type defaults to 'id') [-Wobjc-method-access] NSArray *scanArray = [wifiInterface scanForNetworksWithParameters:scanParameters error:&err]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qcorewlanengine.mm:566:25: warning: 'SecKeychainSearchCreateFromAttributes' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SecKeychainSearchCreateFromAttributes(NULL, kSecGenericPasswordItemClass, &attributeList, &searchRef); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychainSearch.h:58:10: note: 'SecKeychainSearchCreateFromAttributes' declared here OSStatus SecKeychainSearchCreateFromAttributes(CFTypeRef keychainOrArray, SecItemClass itemClass, const SecKeychainAttributeList *attrList, SecKeychainSearchRef *searchRef) ^ qcorewlanengine.mm:571:29: warning: 'SecKeychainSearchCopyNext' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] if (SecKeychainSearchCopyNext(searchRef, &searchItem) == noErr) { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychainSearch.h:69:10: note: 'SecKeychainSearchCopyNext' declared here OSStatus SecKeychainSearchCopyNext(SecKeychainSearchRef searchRef, SecKeychainItemRef *itemRef) ^ qcorewlanengine.mm:596:60: error: use of undeclared identifier 'kCWAssocKeyPassphrase' [params setValue: password forKey: kCWAssocKeyPassphrase]; ^ qcorewlanengine.mm:600:50: warning: instance method '-associateToNetwork:parameters:error:' not found (return type defaults to 'id') [-Wobjc-method-access] bool result = [wifiInterface associateToNetwork: apNetwork parameters:[NSDictionary dictionaryWithDictionary:params] error:&err]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qcorewlanengine.mm:635:25: warning: instance method '-interfaceState' not found (return type defaults to 'id') [-Wobjc-method-access] if ([[wifiInterface interfaceState]intValue] != kCWInterfaceStateInactive) { ^~~~~~~~~~~~~~ qcorewlanengine.mm:635:53: error: use of undeclared identifier 'kCWInterfaceStateInactive' if ([[wifiInterface interfaceState]intValue] != kCWInterfaceStateInactive) { ^ qcorewlanengine.mm:655:44: warning: class method '+supportedInterfaces' not found (return type defaults to 'id') [-Wobjc-method-access] NSArray *wifiInterfaces = [CWInterface supportedInterfaces]; ^~~~~~~~~~~~~~~~~~~ qcorewlanengine.mm:671:30: warning: instance method '-power' not found (return type defaults to 'id') [-Wobjc-method-access] if([defaultInterface power]) { ^~~~~ 18 warnings and 11 errors generated. make[6]: *** [.obj/debug-shared/qcorewlanengine.o] Error 1 make[5]: *** [debug-all] Error 2 make[4]: *** [sub-corewlan-make_first] Error 2 make[3]: *** [sub-bearer-make_first] Error 2 make[2]: *** [sub-plugins-make_first] Error 2 make[1]: *** [sub-src-make_first] Error 2 make: *** [module-qtbase-make_first] Error 2