change Qt minimum version to Qt6.9.0 #○LINQT-2099

This commit is contained in:
gaelle 2025-11-05 15:31:53 +01:00
parent 6f4e925766
commit 0c87a8d94e
2 changed files with 5 additions and 1 deletions

View file

@ -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)

View file

@ -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)