fix for Qt4

This commit is contained in:
2020-06-28 01:04:28 +03:00
parent 65f3cc0698
commit 8324776fb8
8 changed files with 143 additions and 74 deletions

View File

@@ -24,7 +24,12 @@
#include <QIcon>
#include <QImage>
#include <QTextBlockFormat>
#include <QRegularExpression>
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
# include <QRegularExpression>
#else
# include <QRegExp>
typedef QRegExp QRegularExpression;
#endif
#include "qad_export.h"
class QTextEdit;