Code change:
} } else { skipBuild("Unknown platform. Qt WebEngine only supports Linux, Windows, and macOS.") <ins> @@ -111,7 +107,7 @@ defineTest(isMinOSXSDKVersion) { requested_minor = $$2 requested_patch = $$3 isEmpty(requested_patch): requested_patch = 0 -    WEBENGINE_OSX_SDK_PRODUCT_VERSION = $$system("/usr/bin/xcodebuild -sdk $$QMAKE_MAC_SDK -version ProductVersion 2>/dev/null") +    WEBENGINE_OSX_SDK_PRODUCT_VERSION = $$system("xcrun --show-sdk-version") export(WEBENGINE_OSX_SDK_PRODUCT_VERSION) isEmpty(WEBENGINE_OSX_SDK_PRODUCT_VERSION) { skipBuild("Could not resolve SDK product version for '$$QMAKE_MAC_SDK'.") </ins> diff --git a/src/core/config/mac_osx.pri b/src/core/config/mac_osx.pri <ins> index 4426901c..3aa6057e 100644 </ins> --- a/src/core/config/mac_osx.pri +++ b/src/core/config/mac_osx.pri <del> @@ -5,8 +5,6 @@ load(functions) </del> <ins> @@ -5,16 +5,16 @@ load(functions) </ins> # otherwise query for it. QMAKE_MAC_SDK_VERSION = $$eval(QMAKE_MAC_SDK.$${QMAKE_MAC_SDK}.SDKVersion) isEmpty(QMAKE_MAC_SDK_VERSION) { -     QMAKE_MAC_SDK_VERSION = $$system("/usr/bin/xcodebuild -sdk $${QMAKE_MAC_SDK} -version SDKVersion 2>/dev/null") <del> -     isEmpty(QMAKE_MAC_SDK_VERSION): error("Could not resolve SDK version for '$${QMAKE_MAC_SDK}'") </del> <ins> +     QMAKE_MAC_SDK_VERSION = $$system("xcrun --show-sdk-version") isEmpty(QMAKE_MAC_SDK_VERSION): error("Could not resolve SDK version for '$${QMAKE_MAC_SDK}'") </ins> } QMAKE_CLANG_DIR = "/usr" <ins> -QMAKE_CLANG_PATH = $$eval(QMAKE_MAC_SDK.macx-clang.$${QMAKE_MAC_SDK}.QMAKE_CXX) -!isEmpty(QMAKE_CLANG_PATH) { -    clang_dir = $$clean_path("$$dirname(QMAKE_CLANG_PATH)/../") -    exists($$clang_dir): QMAKE_CLANG_DIR = $$clang_dir -} +# QMAKE_CLANG_PATH = $$eval(QMAKE_MAC_SDK.macx-clang.$${QMAKE_MAC_SDK}.QMAKE_CXX) +# !isEmpty(QMAKE_CLANG_PATH) { +#     clang_dir = $$clean_path("$$dirname(QMAKE_CLANG_PATH)/../") +#     exists($$clang_dir): QMAKE_CLANG_DIR = $$clang_dir +# } QMAKE_CLANG_PATH = "$${QMAKE_CLANG_DIR}/bin/clang++" message("Using clang++ from $${QMAKE_CLANG_PATH}") </ins>

Related discussion:
text: Full log: Error message: That's the result I get from my macOS remote builder. When I run the build on my desktop Mac, it builds fine and uses the impure SDK from my Catalina install (10.15.1): However, the local build displays this warning repeatedly: I assume this is related to the macOS patches and hopefully gives some clue as to why it's broken.
qtbase builds fine on hydra: qtwebengine fails:
Those links point to the same thing. Anyway, strictly speaking I'm trying to build , but it's failing in .
Can you explain what do you mean? How are you using ?
It's a dependency of . edit: sorry, I see what you mean now. is a dependency of . I was confused by the message from the build saying that QT would be installed in .
Sure, depends on . Realistically, your best bet for now is to just use anki from an old version of nixpkgs. You see, doesn't have a darwin maintainer. I think, I was the last person to fix it around last January. The problem is that it's hard to keep up with all the updates. Every "minor" Qt version bump brings serious breaking changes for on darwin (like they might not even support our version of SDK anymore...). To make things worse we port all those bumps to the stable branch, so it quickly breaks there too.
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly: for maintainers and people that previously touched the related code and @ mention them in a comment. on the . on the on .
Still important to me, many qt apps are broken on darwin due to this one.