Add `#include <QtWebEngineWidgetsVersion>` to `webviewincludes.h.in`

Used in Syncthing Tray to distinguish between Qt 5 and Qt 6.
This commit is contained in:
Martchus 2021-08-07 18:27:45 +02:00
parent f4b344bd2b
commit 7c7704e4e5
2 changed files with 3 additions and 2 deletions

View File

@ -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})

View File

@ -9,6 +9,7 @@
#if defined(@META_PROJECT_VARNAME_UPPER@_USE_WEBENGINE)
# include <QWebEngineView>
# include <QWebEnginePage>
# include <QtWebEngineWidgetsVersion>
#elif defined(@META_PROJECT_VARNAME_UPPER@_USE_WEBKIT)
# include <QWebView>
# include <QWebPage>