From a826dc24782a18e13c29cee47b95c926d10ed5d7 Mon Sep 17 00:00:00 2001 From: Bent Witthold Date: Sat, 1 Nov 2025 10:56:50 +0100 Subject: [PATCH] Added menu item "Help/Check for update" to ask the QtMaintenanceTool if an update is available and show a dialog to trigger the update from within the application. --- ApplicationConfig.h.in | 2 ++ CMakeLists.txt | 2 ++ UIs/GenericWidgets | 2 +- libs/GenericCore | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 ApplicationConfig.h.in diff --git a/ApplicationConfig.h.in b/ApplicationConfig.h.in new file mode 100644 index 0000000..c86fd15 --- /dev/null +++ b/ApplicationConfig.h.in @@ -0,0 +1,2 @@ +#define APPLICATION_NAME "${PROJECT_NAME}" +#define APPLICATION_VERSION "${PROJECT_VERSION}" diff --git a/CMakeLists.txt b/CMakeLists.txt index 9fb22d3..b4dcb8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) add_subdirectory(libs/GenericCore) set (CORE_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/libs/GenericCore) +configure_file(ApplicationConfig.h.in ApplicationConfig.h) + #Frontend applications add_subdirectory(UIs/GenericWidgets) diff --git a/UIs/GenericWidgets b/UIs/GenericWidgets index 9c67fda..43df76c 160000 --- a/UIs/GenericWidgets +++ b/UIs/GenericWidgets @@ -1 +1 @@ -Subproject commit 9c67fdabdc497bb71a9d057ef7e0ccd33f6ac825 +Subproject commit 43df76c88ffb11a16b25fbacbf5744080f645c7d diff --git a/libs/GenericCore b/libs/GenericCore index bddb6df..13b5368 160000 --- a/libs/GenericCore +++ b/libs/GenericCore @@ -1 +1 @@ -Subproject commit bddb6df3eef511eb8af41ff6b52c66e4a70fea11 +Subproject commit 13b53683a5d00415866c6daf1884612c3f0ba83e