mirror of
https://github.com/fralx/LimeReport.git
synced 2025-10-30 21:07:12 +03:00
Qt6 support added
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include <QString>
|
||||
#include <QStyleOptionViewItem>
|
||||
#include <QtGlobal>
|
||||
#include <QRegExp>
|
||||
|
||||
#if defined(LIMEREPORT_EXPORTS)
|
||||
# define LIMEREPORT_EXPORT Q_DECL_EXPORT
|
||||
@@ -51,6 +52,12 @@ namespace LimeReport {
|
||||
#define VARIABLE_IS_NOT_USED
|
||||
#endif
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 12, 3)
|
||||
typedef QRegularExpression LRRegularExpression;
|
||||
#else
|
||||
typedef QRegExp LRRegularExpression;
|
||||
#endif
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
|
||||
Q_NAMESPACE
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user