We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f7065b commit 984d61cCopy full SHA for 984d61c
inc/extension_qt/q_view_executor.h
@@ -13,6 +13,7 @@
13
#include <QtCore/QDebug>
14
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
15
#include <QtWidgets/QWidget>
16
+#include <QtGui/QTouchDevice>
17
#else
18
#include <QtGui/QWidget>
19
#endif
@@ -49,6 +50,11 @@ class QViewCmdExecutor : public ViewCmdExecutor {
49
50
QRect ConvertRectToQRect(const Rect &rect);
51
QPoint ConvertPointToQPoint(const Point &p);
52
Qt::MouseButton ConvertMouseButtonToQtMouseButton(MouseButton button);
53
+
54
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
55
+ QTouchDevice touchDevice;
56
+#endif
57
58
private:
59
DISALLOW_COPY_AND_ASSIGN(QViewCmdExecutor);
60
};
0 commit comments