From efa62c41b538c81536df9bcf636ce74197b36a36 Mon Sep 17 00:00:00 2001 From: Dmitry Ivanov Date: Tue, 28 Mar 2023 18:29:13 +0300 Subject: [PATCH] Issue #171: make QEverCloud's OAuth use QtWebEngine --- nixnote2.pro | 3 ++- src/qevercloud/QEverCloud/headers/VersionInfo.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/nixnote2.pro b/nixnote2.pro index caa7eed3..7c2c3016 100644 --- a/nixnote2.pro +++ b/nixnote2.pro @@ -1,5 +1,6 @@ -QT += core gui widgets printsupport webkit webkitwidgets sql network xml dbus qml +QT += core gui widgets printsupport webkit webkitwidgets webengine webenginewidgets sql network xml dbus qml DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 +DEFINES += QEVERCLOUD_USE_QT_WEB_ENGINE=1 unix { CONFIG += link_pkgconfig PKGCONFIG += poppler-qt5 libcurl tidy hunspell diff --git a/src/qevercloud/QEverCloud/headers/VersionInfo.h b/src/qevercloud/QEverCloud/headers/VersionInfo.h index 2a5225b8..54bc774f 100644 --- a/src/qevercloud/QEverCloud/headers/VersionInfo.h +++ b/src/qevercloud/QEverCloud/headers/VersionInfo.h @@ -26,7 +26,7 @@ * This macro tells whether QEverCloud library uses QtWebEngine backend for * OAuth support (if it was built with OAuth support) */ -#define QEVERCLOUD_USE_QT_WEB_ENGINE 0 +#define QEVERCLOUD_USE_QT_WEB_ENGINE 1 /** * This macro tells whether QEverCloud library was built with use of Q_NAMESPACE