From 0c87a8d94e1ef1cb18ea5c48865a3b26dfc200a9 Mon Sep 17 00:00:00 2001 From: gaelle Date: Wed, 5 Nov 2025 15:31:53 +0100 Subject: [PATCH] =?UTF-8?q?change=20Qt=20minimum=20version=20to=20Qt6.9.0?= =?UTF-8?q?=20#=E2=97=8BLINQT-2099?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Linphone/CMakeLists.txt | 4 ++++ README.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Linphone/CMakeLists.txt b/Linphone/CMakeLists.txt index 027e2d0bc..72c237256 100644 --- a/Linphone/CMakeLists.txt +++ b/Linphone/CMakeLists.txt @@ -98,6 +98,10 @@ endif() configure_file("${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake" "${CMAKE_CURRENT_BINARY_DIR}/config.h") +if(${Qt6_VERSION} VERSION_LESS "6.9.0") + message( FATAL_ERROR "Linphone requires Qt6.9.0 or newer. Exiting CMake." ) +endif() + if(${Qt6_VERSION} VERSION_LESS "6.3.0") set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) diff --git a/README.md b/README.md index c53a5e603..7b9ca7c40 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Linphone is dual licensed, and is available either : As linphone-desktop depends on [Linphone SDK](https://gitlab.linphone.org/BC/public/linphone-sdk), you need to install to Build dependencies common to all target platforms of this project: [The Linphone SDK depdencies](https://gitlab.linphone.org/BC/public/linphone-sdk#common-to-all-target-platforms) -For Desktop : you will need QT6 (_6.5.3 or newer_). `C++17` support is required!. You have two way to install it : +For Desktop : you will need QT6 (6.9.0 or newer_). `C++17` support is required!. You have two way to install it : - Using the [official QT installer](https://www.qt.io/download-thank-you) - Using an alternative installer like [aqtinstall](https://github.com/miurahr/aqtinstall)