summaryrefslogtreecommitdiffstats
path: root/configure.cmake
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2023-08-04 11:48:08 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2023-08-06 06:21:40 +0000
commit3d4ac6d06e5a1ea841aeb33fc9ec5c65f18dd263 (patch)
treea9665a9f417ab9e956bdd2a6000d100f87c568bd /configure.cmake
parent84a5d90fc43ead2ce2aa3bdaac2ca88241700d5d (diff)
Support MSVC 2019
Fixes: QTBUG-115713 Change-Id: I45721005d1953c830ab95039827910b06800db54 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.cmake b/configure.cmake
index 688c68d4e..8f30b3446 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -201,7 +201,7 @@ qt_config_compile_test(winversion
LABEL "winversion"
CODE
"
-#if !defined(__clang__) && _MSC_VER < 1934
+#if !defined(__clang__) && _MSC_VER < 1922
#error unsupported Visual Studio version
#endif
int main(void){
@@ -609,8 +609,8 @@ if(WIN32)
if(MSVC)
add_check_for_support(
MODULES QtWebEngine QtPdf
- CONDITION NOT MSVC_VERSION LESS 1936
- MESSAGE "VS compiler version must be at least 14.36"
+ CONDITION NOT MSVC_VERSION LESS 1922
+ MESSAGE "VS compiler version must be at least 14.22"
)
endif()
set(windowsSdkVersion $ENV{WindowsSDKVersion})
@@ -626,7 +626,7 @@ endif()
add_check_for_support(
MODULES QtWebEngine QtPdf
CONDITION NOT MSVC OR TEST_winversion
- MESSAGE "Build requires Visual Studio 2022 or higher."
+ MESSAGE "Build requires Visual Studio 2019 or higher."
)
#### Summary