diff --git a/CMakeLists.txt b/CMakeLists.txt index 9e8535e..71ac40d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ set(META_APP_CATEGORIES "Network;FileTransfer") set(META_GUI_OPTIONAL false) set(META_VERSION_MAJOR 0) set(META_VERSION_MINOR 10) -set(META_VERSION_PATCH 4) +set(META_VERSION_PATCH 5) set(META_VERSION_EXACT_SONAME ON) set(META_ADD_DEFAULT_CPP_UNIT_TEST_APPLICATION ON) diff --git a/widgets/webview/webviewdialog.cpp b/widgets/webview/webviewdialog.cpp index 2c66dd1..8fe71f6 100644 --- a/widgets/webview/webviewdialog.cpp +++ b/widgets/webview/webviewdialog.cpp @@ -12,6 +12,7 @@ #include #if defined(SYNCTHINGWIDGETS_USE_WEBENGINE) #include +#include #endif using namespace QtUtilities; @@ -28,7 +29,7 @@ WebViewDialog::WebViewDialog(QWidget *parent) #if defined(SYNCTHINGWIDGETS_USE_WEBENGINE) m_profile = new QWebEngineProfile(objectName(), this); -#if (QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)) +#if (QTWEBENGINEWIDGETS_VERSION >= QT_VERSION_CHECK(5, 13, 0)) m_profile->setUrlRequestInterceptor(new WebViewInterceptor(m_connectionSettings, m_profile)); #else m_profile->setRequestInterceptor(new WebViewInterceptor(m_connectionSettings, m_profile));