-
Notifications
You must be signed in to change notification settings - Fork 37.8k
Closed
Labels
Description
Building Qt in depends is broken on macOS (10.12.6) with the latest Xcode.
compiling main.mm
compiling qcocoahelpers.mm
qcocoahelpers.mm:658:39: error: use of undeclared identifier 'InvalidContext'
require_action(inContext != NULL, InvalidContext, err = paramErr);
^
qcocoahelpers.mm:659:38: error: use of undeclared identifier 'InvalidBounds'
require_action(inBounds != NULL, InvalidBounds, err = paramErr);
^
qcocoahelpers.mm:660:37: error: use of undeclared identifier 'InvalidImage'
require_action(inImage != NULL, InvalidImage, err = paramErr);
^
qcocoahelpers.mm:702:20: warning: 'OpenDefaultComponent' is deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
theComponent = OpenDefaultComponent(kOSAComponentType, typeAppleScript);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:1004:1: note:
'OpenDefaultComponent' has been explicitly marked deprecated here
OpenDefaultComponent(
^
qcocoahelpers.mm:736:9: warning: 'CloseComponent' is deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
CloseComponent(theComponent);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:593:1: note:
'CloseComponent' has been explicitly marked deprecated here
CloseComponent(ComponentInstance aComponentInstance) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA);
^
2 warnings and 3 errors generated.
make[4]: *** [.obj/qcocoahelpers.o] Error 1
Upstream issues here:
5.6 branch
5.9 branch