Building Qt in depends is broken on macOS (10.12.6) with the latest Xcode.
0compiling main.mm
1compiling qcocoahelpers.mm
2qcocoahelpers.mm:658:39: error: use of undeclared identifier 'InvalidContext'
3 require_action(inContext != NULL, InvalidContext, err = paramErr);
4 ^
5qcocoahelpers.mm:659:38: error: use of undeclared identifier 'InvalidBounds'
6 require_action(inBounds != NULL, InvalidBounds, err = paramErr);
7 ^
8qcocoahelpers.mm:660:37: error: use of undeclared identifier 'InvalidImage'
9 require_action(inImage != NULL, InvalidImage, err = paramErr);
10 ^
11qcocoahelpers.mm:702:20: warning: 'OpenDefaultComponent' is deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
12 theComponent = OpenDefaultComponent(kOSAComponentType, typeAppleScript);
13 ^
14/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:
15 'OpenDefaultComponent' has been explicitly marked deprecated here
16OpenDefaultComponent(
17^
18qcocoahelpers.mm:736:9: warning: 'CloseComponent' is deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
19 CloseComponent(theComponent);
20 ^
21/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:
22 'CloseComponent' has been explicitly marked deprecated here
23CloseComponent(ComponentInstance aComponentInstance) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA);
24^
252 warnings and 3 errors generated.
26make[4]: *** [.obj/qcocoahelpers.o] Error 1
Upstream issues here: 5.6 branch 5.9 branch