From 70beac08afaec0ef0c4ef2e72ebfc007acba7d56 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sun, 15 Mar 2020 14:27:00 +0100 Subject: Remove all QRegExp dependencies from widgets QRegExp is deprecated in Qt6 and will get moved to the Qt 5 compat library. As such we need to remove all API and usages of QRegExp in Qt. Change-Id: I33fb56701d3d7c577f98a304c1d4e6f626fcb397 Reviewed-by: Richard Moe Gustavsen --- src/widgets/widgets/qwidgettextcontrol_p.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/widgets/widgets/qwidgettextcontrol_p.h') diff --git a/src/widgets/widgets/qwidgettextcontrol_p.h b/src/widgets/widgets/qwidgettextcontrol_p.h index c445ecaf80..89acd1e50c 100644 --- a/src/widgets/widgets/qwidgettextcontrol_p.h +++ b/src/widgets/widgets/qwidgettextcontrol_p.h @@ -117,9 +117,6 @@ public: QTextCharFormat currentCharFormat() const; bool find(const QString &exp, QTextDocument::FindFlags options = { }); -#ifndef QT_NO_REGEXP - bool find(const QRegExp &exp, QTextDocument::FindFlags options = { }); -#endif #if QT_CONFIG(regularexpression) bool find(const QRegularExpression &exp, QTextDocument::FindFlags options = { }); #endif -- cgit v1.2.3