forked from mirrors/nixpkgs
d4c607aa71
This includes contributions by @ttuegel and @DizFer. Thanks!
34 lines
1.5 KiB
Diff
34 lines
1.5 KiB
Diff
diff --git a/mkspecs/features/platform.prf b/mkspecs/features/platform.prf
|
|
--- a/mkspecs/features/platform.prf
|
|
+++ b/mkspecs/features/platform.prf
|
|
@@ -40,8 +40,6 @@ defineTest(isPlatformSupported) {
|
|
} else:osx {
|
|
# FIXME: Try to get it back down to 8.2 for building on OS X 10.11
|
|
!isMinXcodeVersion(8, 3, 3) {
|
|
- skipBuild("Using Xcode version $$QMAKE_XCODE_VERSION, but at least version 8.3.3 is required to build Qt WebEngine.")
|
|
- return(false)
|
|
}
|
|
!clang|intel_icc {
|
|
skipBuild("Qt WebEngine on macOS requires Clang.")
|
|
@@ -54,8 +52,6 @@ defineTest(isPlatformSupported) {
|
|
return(false)
|
|
}
|
|
!isMinOSXSDKVersion(10, 12): {
|
|
- skipBuild("Building Qt WebEngine requires a macOS SDK version of 10.12 or newer. Current version is $${WEBENGINE_OSX_SDK_PRODUCT_VERSION}.")
|
|
- return(false)
|
|
}
|
|
} else {
|
|
skipBuild("Unknown platform. Qt WebEngine only supports Linux, Windows, and macOS.")
|
|
diff --git a/src/core/config/mac_osx.pri b/src/core/config/mac_osx.pri
|
|
--- a/src/core/config/mac_osx.pri
|
|
+++ b/src/core/config/mac_osx.pri
|
|
@@ -5,8 +5,6 @@ load(functions)
|
|
# 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")
|
|
- isEmpty(QMAKE_MAC_SDK_VERSION): error("Could not resolve SDK version for \'$${QMAKE_MAC_SDK}\'")
|
|
}
|
|
|
|
QMAKE_CLANG_DIR = "/usr"
|