From 2d607b179ea0c69f2120a13df679dd8c8eec2a6b Mon Sep 17 00:00:00 2001 From: twi-devel Date: Tue, 25 Aug 2026 14:24:17 +0200 Subject: [PATCH] Update MIGRATION_STATUS.md with Session 023: Lts/Tools QRegExp migration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Documented complete QRegExp → QRegularExpression migration in Lts/Tools - 7 files updated with Qt6-compatible regex patterns - Core5Compat added for QTextCodec support in TextEditorTest - Zero QRegExp instances remaining in Lts/Tools module Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Entire-Checkpoint: 01M0WE1S8MR1K59FMME9HHSA2S --- MIGRATION_STATUS.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/MIGRATION_STATUS.md b/MIGRATION_STATUS.md index 0af8a977a..f62aec044 100644 --- a/MIGRATION_STATUS.md +++ b/MIGRATION_STATUS.md @@ -1,5 +1,50 @@ # Qt5/C++11 → Qt6/C++17 Migration Status +## Session 023: Lts/Tools QRegExp Migration Complete (2026-08-24) + +### ✅ QRegExp → QRegularExpression Migration in Lts/Tools + +Completed migration of all QRegExp usage to QRegularExpression in Lts/Tools module: + +**Files Updated:** +1. **Lts/Tools/DdsView/detailview.cpp** + - Line 636: QRegExp → QRegularExpression (name pattern matching) + +2. **Lts/Tools/DdsView/sequences/abstractsequencewidget.cpp** + - Line 167: QRegExp → QRegularExpression (object name replacement) + - Added `#include ` + +3. **Lts/Tools/VapixConfig/httprequesthandler.cpp** + - Lines 68, 95, 136: QRegExp → QRegularExpression (string splitting) + +4. **Lts/Tools/ConfigX/configurator.cpp** + - QRegExp → QRegularExpression migration + +5. **Lts/Tools/LogViewer/sortfiltermodel.cpp** + - QRegExp → QRegularExpression migration + +6. **Lts/Tools/SqlBrowser/BrowserWnd.cpp** + - QRegExp → QRegularExpression migration + +7. **Lts/Tools/TextEditorTest/CMakeLists.txt** + - Added `Qt6::Core5Compat` for QTextCodec support (Qt::codecForHtml) + +**Migration Pattern Applied:** +- `QRegExp(pattern)` → `QRegularExpression(pattern)` +- `QRegExp(pattern, Qt::CaseInsensitive, QRegExp::Wildcard)` → `QRegularExpression(QRegularExpression::wildcardToRegularExpression(pattern), QRegularExpression::CaseInsensitiveOption)` +- `QRegExp(string, Qt::CaseInsensitive, QRegExp::FixedString)` → `QRegularExpression(QRegularExpression::escape(string), QRegularExpression::CaseInsensitiveOption)` + +**Verification:** +- ✅ Zero QRegExp instances remaining in Lts/Tools +- ✅ All files compile with Qt6 +- ✅ Core5Compat added where QTextCodec is required + +**Commits:** +- Submodule: 71636a42c (Lts/Tools: Complete QRegExp to QRegularExpression migration) +- Main repo: f4ecc34e (Update qt-migration-legatus submodule) + +--- + ## Session 022: Lts/Tools Module Migration Complete (2026-08-24) ### ✅ Lts/Tools (72 Submodules) Migrated