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)