summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/functions.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features/functions.prf')
-rw-r--r--mkspecs/features/functions.prf10
1 files changed, 9 insertions, 1 deletions
diff --git a/mkspecs/features/functions.prf b/mkspecs/features/functions.prf
index 8dd21f410..56894e58a 100644
--- a/mkspecs/features/functions.prf
+++ b/mkspecs/features/functions.prf
@@ -16,7 +16,7 @@ defineTest(isQtMinimum) {
defineTest(isPlatformSupported) {
QT_FOR_CONFIG += gui-private
linux {
- !gcc:!clang {
+ if(!gcc:!clang)|intel_icc {
skipBuild("Qt WebEngine on Linux requires clang or GCC.")
return(false)
}
@@ -29,6 +29,10 @@ defineTest(isPlatformSupported) {
isBuildingOnWin32() {
skipBuild("Qt WebEngine on Windows must be built on a 64-bit machine.")
}
+ !msvc|intel_icl {
+ skipBuild("Qt WebEngine on Windows requires MSVC.")
+ return(false)
+ }
!isMinWinSDKVersion(10, 10586): {
skipBuild("Qt WebEngine on Windows requires a Windows SDK version 10.0.10586 or newer.")
return(false)
@@ -38,6 +42,10 @@ defineTest(isPlatformSupported) {
skipBuild("Using XCode version $$QMAKE_XCODE_VERSION, but at least version 5.1 is required to build Qt WebEngine.")
return(false)
}
+ !clang|intel_icc {
+ skipBuild("Qt WebEngine on macOS requires Clang.")
+ return(false)
+ }
# We require OS X 10.0 (darwin version 14.0.0) or newer
darwin_major_version = $$section(QMAKE_HOST.version, ., 0, 0)
lessThan(darwin_major_version, 14) {