From 7c7704e4e5e702bedad3c88f2e9962d41c831fed Mon Sep 17 00:00:00 2001 From: Martchus Date: Sat, 7 Aug 2021 18:27:45 +0200 Subject: [PATCH] Add `#include ` to `webviewincludes.h.in` Used in Syncthing Tray to distinguish between Qt 5 and Qt 6. --- CMakeLists.txt | 4 ++-- cmake/templates/webviewincludes.h.in | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 756eae8..9bd4cf5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,8 +9,8 @@ set(META_APP_URL "https://github.com/${META_APP_AUTHOR}/${META_PROJECT_NAME}") set(META_APP_DESCRIPTION "Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models") set(META_VERSION_MAJOR 6) -set(META_VERSION_MINOR 4) -set(META_VERSION_PATCH 2) +set(META_VERSION_MINOR 5) +set(META_VERSION_PATCH 0) set(META_APP_VERSION ${META_VERSION_MAJOR}.${META_VERSION_MINOR}.${META_VERSION_PATCH}) project(${META_PROJECT_NAME}) diff --git a/cmake/templates/webviewincludes.h.in b/cmake/templates/webviewincludes.h.in index 7481c7e..cb05d19 100644 --- a/cmake/templates/webviewincludes.h.in +++ b/cmake/templates/webviewincludes.h.in @@ -9,6 +9,7 @@ #if defined(@META_PROJECT_VARNAME_UPPER@_USE_WEBENGINE) # include # include +# include #elif defined(@META_PROJECT_VARNAME_UPPER@_USE_WEBKIT) # include # include