diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-03-27 11:56:25 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-04-01 20:36:49 +0000 |
commit | 47e576528e4f61c1e387e7ee89bc6b18b7ce3d94 (patch) | |
tree | 8b24fc1f92f709530854abe8e3aea31804ce00a1 /qtcreator.pro | |
parent | 553c3c2c74f631598dfda3e8a026ed1dc358626a (diff) |
Port QtCreator over to use filterRegularExpression
QSortFilterProxyModel::filterRegExp is going to go away in Qt6,
so port over to use QRegularExpression instead.
This required some changes where setFilterWildcard/FixedString()
was being used, as those would instantiate QRegExp based filters
in Qt 5, and will use QRegularExpression in Qt 6. Use the generic
setFilterRegularExpression here, to keep things portable between
5 and 6.
Change-Id: I6379be781aa3821b10ba783c088f82c1a0970911
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'qtcreator.pro')
-rw-r--r-- | qtcreator.pro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qtcreator.pro b/qtcreator.pro index f59ec0a332..ff0b546459 100644 --- a/qtcreator.pro +++ b/qtcreator.pro @@ -1,9 +1,9 @@ include(qtcreator.pri) #version check qt -!minQtVersion(5, 11, 0) { +!minQtVersion(5, 12, 0) { message("Cannot build $$IDE_DISPLAY_NAME with Qt version $${QT_VERSION}.") - error("Use at least Qt 5.11.0.") + error("Use at least Qt 5.12.0.") } include(doc/doc.pri) |