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