From 0aa8438c8f65c992abdfa4eb6accdd09f8a2abc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Pereira?= Date: Mon, 15 Apr 2024 12:11:59 +0100 Subject: [PATCH 1/3] Updates CMake minimum required version --- CMakeLists.txt | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d6dbbc05..170814b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.16.0 FATAL_ERROR) # CMP0000: Call the cmake_minimum_required() command at the beginning of the top-level # CMakeLists.txt file even before calling the project() command. # The cmake_minimum_required(VERSION) command implicitly invokes the cmake_policy(VERSION) diff --git a/README.md b/README.md index 2e0e4d2b..aaf47a95 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ License: BSD-3-clause The only runtime dependency is qtbase ≥ 6.6.0. Build dependencies are as follows: -- CMake ≥ 3.1.0 serves as the build system and therefore needs to be present to compile. +- CMake ≥ 3.16.0 serves as the build system and therefore needs to be present to compile. - The latest [lxqt-build-tools](https://github.com/lxqt/lxqt-build-tools/) is also needed for compilation. - Git is needed to optionally pull latest VCS checkouts. From 7c441db73ac57304b14d65f735291dd6ef34d0cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Pereira?= Date: Mon, 15 Apr 2024 12:14:58 +0100 Subject: [PATCH 2/3] Updates lxqt-build-tools minimum required version --- CMakeLists.txt | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 170814b3..e3116de2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) # Minimum Versions set(QT_MINIMUM_VERSION "6.1.0") -set(LXQTBT_MINIMUM_VERSION "0.13.0") +set(LXQTBT_MINIMUM_VERSION "2.0.0") find_package(Qt6Widgets "${QT_MINIMUM_VERSION}" REQUIRED) find_package(Qt6LinguistTools "${QT_MINIMUM_VERSION}" REQUIRED) diff --git a/README.md b/README.md index aaf47a95..fa21f5ad 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ License: BSD-3-clause The only runtime dependency is qtbase ≥ 6.6.0. Build dependencies are as follows: - CMake ≥ 3.16.0 serves as the build system and therefore needs to be present to compile. -- The latest [lxqt-build-tools](https://github.com/lxqt/lxqt-build-tools/) is also needed for compilation. +- [lxqt-build-tools](https://github.com/lxqt/lxqt-build-tools/) ≥ 2.0.0 is also needed for compilation. - Git is needed to optionally pull latest VCS checkouts. Code configuration is handled by CMake. CMake variable `CMAKE_INSTALL_PREFIX` will normally have to be set to `/usr`, depending on the way library paths are dealt with on 64bit systems. Variables like `CMAKE_INSTALL_LIBDIR` may have to be set as well. From 37d7beb0c3bcb477a0692da294c47804bf59a1a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Pereira?= Date: Mon, 15 Apr 2024 12:16:41 +0100 Subject: [PATCH 3/3] Updates Qt minimum required version Make it match the README documentation. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e3116de2..9d2baf58 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake") set(CMAKE_INCLUDE_CURRENT_DIR ON) # Minimum Versions -set(QT_MINIMUM_VERSION "6.1.0") +set(QT_MINIMUM_VERSION "6.6.0") set(LXQTBT_MINIMUM_VERSION "2.0.0") find_package(Qt6Widgets "${QT_MINIMUM_VERSION}" REQUIRED)