Yuhang Zhao
2023-12-11 438327d56e7c88dd3fbee3d83223d29e5de90653
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef QWKGLOBAL_H
#define QWKGLOBAL_H
 
#include <QtCore/QEvent>
#include <QtGui/QtEvents>
 
#include <QWKCore/qwkcoreglobal.h>
 
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
using QT_NATIVE_EVENT_RESULT_TYPE = qintptr;
using QT_ENTER_EVENT_TYPE = QEnterEvent;
#else
using QT_NATIVE_EVENT_RESULT_TYPE = long;
using QT_ENTER_EVENT_TYPE = QEvent;
#endif
 
#endif // QWKGLOBAL_H