1From 29df2c02834d3aab4ffcb366e8c5eeed248b4d34 Mon Sep 17 00:00:00 2001
2From: Dmitry Kazakov <dimula73@gmail.com>
3Date: Mon, 11 Mar 2019 16:17:17 +0300
4Subject: [PATCH 2/4] Poison Qt's headers with a mark about presence of
5 Enter/Leave patch
6
7---
8 src/gui/kernel/qevent.h | 4 ++++
9 1 file changed, 4 insertions(+)
10
11diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h
12index 30f058ea07..b09a21300b 100644
13--- a/src/gui/kernel/qevent.h
14+++ b/src/gui/kernel/qevent.h
15@@ -242,6 +242,10 @@ protected:
16 };
17 #endif
18
19+// a temporary mark to know if the patch has landed to Qt or not
20+// https://codereview.qt-project.org/#/c/255384/
21+#define QT_HAS_ENTER_LEAVE_PATCH
22+
23 #if QT_CONFIG(tabletevent)
24 class Q_GUI_EXPORT QTabletEvent : public QInputEvent
25 {
26--
272.20.1.windows.1
28
29