Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / qt-5 / 5.15 / qtwebengine-darwin-checks.patch
blob213fb624dab19e06de7808114997d994733ad4fb
1 diff --git a/configure.pri b/configure.pri
2 index 3a33bdc82..c1460b8b5 100644
3 --- a/configure.pri
4 +++ b/configure.pri
5 @@ -442,24 +442,6 @@ defineTest(qtwebengine_isWindowsPlatformSupported) {
8 defineTest(qtwebengine_isMacOsPlatformSupported) {
9 - !qtwebengine_isMinXcodeVersion(10, 0, 0) {
10 - qtwebengine_platformError("requires at least version 10.0.0, but using Xcode version $${QMAKE_XCODE_VERSION}.")
11 - return(false)
12 - }
13 - !clang|intel_icc {
14 - qtwebengine_platformError("requires Clang.")
15 - return(false)
16 - }
17 - # We require macOS 10.13 (darwin version 17.0.0) or newer.
18 - darwin_major_version = $$section(QMAKE_HOST.version, ., 0, 0)
19 - lessThan(darwin_major_version, 17) {
20 - qtwebengine_platformError("requires macOS version 10.13 or newer.")
21 - return(false)
22 - }
23 - !qtwebengine_isMinOSXSDKVersion(10, 13): {
24 - qtwebengine_platformError("requires a macOS SDK version of 10.13 or newer. Current version is $${WEBENGINE_OSX_SDK_PRODUCT_VERSION}.")
25 - return(false)
26 - }
27 CONFIG(debug, debug|release):isUniversal(){
28 qtwebengine_platformError("Universal builds can not be done with debug configuration due to large binary size.")
29 return(false)