Update MIGRATION_STATUS.md with Session 023: Lts/Tools QRegExp migration
Qt6 Migration CI / migrate (push) Waiting to run
Qt6 Migration CI / migrate (push) Waiting to run
- 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
This commit is contained in:
1 parent
f4ecc34e07
commit
2d607b179e
1 file changed
+45
@@ -1,5 +1,50 @@
|
|||||||
# Qt5/C++11 → Qt6/C++17 Migration Status
|
# 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 <QRegularExpression>`
|
||||||
|
|
||||||
|
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)
|
## Session 022: Lts/Tools Module Migration Complete (2026-08-24)
|
||||||
|
|
||||||
### ✅ Lts/Tools (72 Submodules) Migrated
|
### ✅ Lts/Tools (72 Submodules) Migrated
|
||||||
|
|||||||
Reference in new issue
Block a user