From f0f5d3507d51bdb77dc364458284360feda6ba83 Mon Sep 17 00:00:00 2001 From: Savenkov Igor Date: Sun, 17 Dec 2023 15:40:51 +0200 Subject: [PATCH] Switch to Qt 6.6.1 and tools version update (#293) * Switch to 6.6.1 * Restore explicit versions --- .github/workflows/AppBuild.yml | 8 ++++---- CMakeLists.txt | 2 +- README.md | 2 +- lib/QmlAtoms/CMakeLists.txt | 2 +- lib/QmlMolecules/CMakeLists.txt | 2 +- lib/QmlPages/CMakeLists.txt | 2 +- lib/QmlTheme/CMakeLists.txt | 2 +- lib/QmlTools/CMakeLists.txt | 2 +- project.py | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/AppBuild.yml b/.github/workflows/AppBuild.yml index 6f1ab58c..0de66794 100644 --- a/.github/workflows/AppBuild.yml +++ b/.github/workflows/AppBuild.yml @@ -7,11 +7,11 @@ on: branches: [ "main" ] env: - EMSDK_VERSION: 3.1.25 - QT_VERSION: 6.5.0 + EMSDK_VERSION: 3.1.37 + QT_VERSION: 6.6.1 QT_ROOT: ${{ github.workspace }}/Qt - CONAN_VERSION: 2.0.6 - AQT_VERSION: ==3.1.5 + CONAN_VERSION: 2.0.14 + AQT_VERSION: ==3.1.11 PY7ZR_VERSION: ==0.20.2 jobs: diff --git a/CMakeLists.txt b/CMakeLists.txt index a0c28a47..107921d5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,7 +41,7 @@ if (NOT WASM) add_subdirectory ("${LIBS_ROOT}/TermDataStorage" "${CMAKE_BINARY_DIR}/lib/TermDataStorage") endif () -qt_standard_project_setup(REQUIRES 6.5) +qt_standard_project_setup(REQUIRES 6.6) qt_add_executable (TermGraph "android/AndroidManifest.xml" diff --git a/README.md b/README.md index 31e56235..4e28c325 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ If you try to draw the first few "layers" of these terms, it will look like a la ## 🧬 Tech stack - C++ 20 -- Qt 6.5 | Qml +- Qt 6.6 | Qml - Cmake 3.22+ - Conan 2 - [GTest lib](https://github.com/google/googletest) (tests) diff --git a/lib/QmlAtoms/CMakeLists.txt b/lib/QmlAtoms/CMakeLists.txt index bcbc1ae2..5bfc373f 100644 --- a/lib/QmlAtoms/CMakeLists.txt +++ b/lib/QmlAtoms/CMakeLists.txt @@ -6,7 +6,7 @@ project (AtomsModule LANGUAGES CXX) find_package (Qt6 REQUIRED COMPONENTS QuickControls2) -qt_standard_project_setup(REQUIRES 6.5) +qt_standard_project_setup(REQUIRES 6.6) qt_add_library (AtomsModule STATIC) diff --git a/lib/QmlMolecules/CMakeLists.txt b/lib/QmlMolecules/CMakeLists.txt index baf54f43..8bf83980 100644 --- a/lib/QmlMolecules/CMakeLists.txt +++ b/lib/QmlMolecules/CMakeLists.txt @@ -6,7 +6,7 @@ project (MoleculesModule LANGUAGES CXX) find_package (Qt6 REQUIRED COMPONENTS QuickControls2) -qt_standard_project_setup(REQUIRES 6.5) +qt_standard_project_setup(REQUIRES 6.6) qt_add_library (MoleculesModule STATIC) diff --git a/lib/QmlPages/CMakeLists.txt b/lib/QmlPages/CMakeLists.txt index 103aaf36..7d3ee57f 100644 --- a/lib/QmlPages/CMakeLists.txt +++ b/lib/QmlPages/CMakeLists.txt @@ -6,7 +6,7 @@ project (PagesModule LANGUAGES CXX) find_package (Qt6 REQUIRED COMPONENTS QuickControls2) -qt_standard_project_setup(REQUIRES 6.5) +qt_standard_project_setup(REQUIRES 6.6) qt_add_library (PagesModule STATIC) diff --git a/lib/QmlTheme/CMakeLists.txt b/lib/QmlTheme/CMakeLists.txt index 15d8f0fe..123f197c 100644 --- a/lib/QmlTheme/CMakeLists.txt +++ b/lib/QmlTheme/CMakeLists.txt @@ -6,7 +6,7 @@ project (ThemeModule LANGUAGES CXX) find_package (Qt6 REQUIRED COMPONENTS Core QuickControls2 Svg) -qt_standard_project_setup(REQUIRES 6.5) +qt_standard_project_setup(REQUIRES 6.6) qt_add_library (ThemeModule STATIC) diff --git a/lib/QmlTools/CMakeLists.txt b/lib/QmlTools/CMakeLists.txt index a818a51b..e4d871a5 100644 --- a/lib/QmlTools/CMakeLists.txt +++ b/lib/QmlTools/CMakeLists.txt @@ -6,7 +6,7 @@ project (ToolsModule LANGUAGES CXX) find_package (Qt6 REQUIRED COMPONENTS QuickControls2) -qt_standard_project_setup(REQUIRES 6.5) +qt_standard_project_setup(REQUIRES 6.6) qt_add_library (ToolsModule STATIC) diff --git a/project.py b/project.py index 2241734e..2db01c99 100755 --- a/project.py +++ b/project.py @@ -56,7 +56,7 @@ def env_qt_root() -> Path: def configure_environment(for_wasm: bool = False): set_env_var_if_missed('QT_ROOT', default_value=os.path.expanduser('~/Qt')) - set_env_var_if_missed('QT_VERSION', default_value='6.5.0') + set_env_var_if_missed('QT_VERSION', default_value='6.6.1') assert_variable_exist('QT_VERSION', example='x.y.z') assert_variable_exist('QT_ROOT', example='~/Qt')