luyikei です。
朝木さん。ありがとうございます。
わかりました。私がこの内容を英訳して送ります。
よろしくおねがいします。
2013/12/16 Takumi ASAKI takumi.asaki@gmail.com:
朝木です。
遅くなりましたが、 これって、どう対応すればいいのかな。 ここに書いておけばいい? 本人にメール? 英語? 日本語はNGだろうけど。
5.1.1 は OS X 10.9 に未対応なので、git か 5.2.0 を試してください。 と言うのが無難な答えですが。
OS X 10.8 で 5.2 を試すと(Widget系が)ぼろぼろだったので、 10.9 で 5.2 を試した人がいればどうだったか聞いてみたいところです。
2013/12/10 yikei lu luyikei.qmltu@gmail.com:
luyikeiです。
Qt ユーザー会の管理者用メールアドレスに質問メールが来ました。送信者が転送の許可を出したので転送します。
よろしくおねがいします。
---------- Forwarded message ---------- From: mwj@japan-snow.com mwj@japan-snow.com Date: 2013/12/10 Subject: How can I install QT source package on OSX10.9 To: administrator@qt-users.jp Cc: 谢晨 xc@japan-snow.com
Dear Sir Right now I need to install QT on OS X 10.9. I followed the steps of "Installing Qt for Mac OS X" on your web site to install QT 5.1.1. I have the following ploblems.Would you please to give me a help? 1, when set -SDK configure option
sudo ./configure -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/
Running configuration tests... Failed to process makespec for platform 'macx-clang' Turn on verbose messaging (-v) to see the final report. But the following error happened when making QT.
2, when make QT with default configure option setting qcorewlanengine.mm:97:88: error: use of undeclared identifier 'kCWPowerDidChangeNotification'; did you mean 'CWPowerDidChangeNotification'? ...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_AVAIL... ^ 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], kCWSca... ^ qcorewlanengine.mm:181:46: warning: instance method '-scanForNetworksWithParameters:error:' not found (return type defaults to 'id') [-Wobjc-method-access] ...= [currentInterface scanForNetworksWithParameters:parametersDict error:&... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qcorewlanengine.mm:195:39: error: property 'interfaceState' not found on object of type 'CWInterface *'; did you mean 'interfaceName'? if( [currentInterface.interfaceState intValue] == kCWInt... ^~~~~~~~~~~~~~ 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] == kCWInt... ^ 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... ^ /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] == kCWInterfa... ^~~~~~~~~~~~~~ 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] == kCWInterfa... ^ 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] ...= [wifiInterface scanForNetworksWithParameters:scanParameters error:&err]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qcorewlanengine.mm:566:25: warning: 'SecKeychainSearchCreateFromAttributes' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SecKeychainSearchCreateFromAttributes(NULL, kSec... ^ /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... ^ qcorewlanengine.mm:571:29: warning: 'SecKeychainSearchCopyNext' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] if (SecKeychainSearchCopyNext(searchRef, &search... ^ /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, SecKe... ^ qcorewlanengine.mm:596:60: error: use of undeclared identifier 'kCWAssocKeyPassphrase' [params setValue: password forKey: kCWAssocKeyPa... ^ qcorewlanengine.mm:600:50: warning: instance method '-associateToNetwork:parameters:error:' not found (return type defaults to 'id') [-Wobjc-method-access] ...associateToNetwork: apNetwork parameters:[NSDictionary dictionaryWithDictionary:params] error...
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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
3, Is QT 4.8.4 supported by OS X 10.9? QT 4.8.4 is more propriate for us than 5.1.1.
Thank you very much!
Regards!
Meng
Qt-users mailing list Qt-users@qt-users.jp http://qt-users.jp/mailman/listinfo/qt-users
Qt-users mailing list Qt-users@qt-users.jp http://qt-users.jp/mailman/listinfo/qt-users