From 45e51288ca8eb1ed3ee74460bf164f82db41a918 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Fri, 6 Jul 2018 10:14:34 +0200 Subject: 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 --- src/core/config/windows.pri | 4 ++-- 1 file 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") } -- cgit v1.2.3