summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2018-07-06 10:14:34 +0200
committerKai Koehne <kai.koehne@qt.io>2018-07-06 13:35:32 +0000
commit45e51288ca8eb1ed3ee74460bf164f82db41a918 (patch)
tree14ddf37fb9c8abba97b24b427dd851308010302c
parent730e74c1da6cac774c4d7d861559ea37d845913e (diff)
Enforce Visual Studio check in windows.pri
Because windows.pri is included from a replace function gnArgs, fatal does not work: src/core/config/windows.pri:60: 'fatal' is not a recognized test function. Change-Id: Ib831e1ffa7e8e345477692d453bbcc568864b98c Reviewed-by: Andy Shaw <andy.shaw@qt.io>
-rw-r--r--src/core/config/windows.pri4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/config/windows.pri b/src/core/config/windows.pri
index b3e4cf77d..5aa511da3 100644
--- a/src/core/config/windows.pri
+++ b/src/core/config/windows.pri
@@ -57,7 +57,7 @@ msvc {
equals(MSVC_VER, 15.0) {
MSVS_VERSION = 2017
} else {
- fatal("Visual Studio compiler version \"$$MSVC_VER\" is not supported by Qt WebEngine")
+ error("Visual Studio compiler version \"$$MSVC_VER\" is not supported by Qt WebEngine")
}
gn_args += visual_studio_version=$$MSVS_VERSION
@@ -71,5 +71,5 @@ msvc {
gn_args += target_cpu=\"$$GN_TARGET_CPU\"
} else {
- fatal("Qt WebEngine for Windows can only be built with the Microsoft Visual Studio C++ compiler")
+ error("Qt WebEngine for Windows can only be built with the Microsoft Visual Studio C++ compiler")
}