Update MIGRATION_STATUS.md: QDesktopWidget migration complete
Qt6 Migration CI / migrate (push) Waiting to run
Qt6 Migration CI / migrate (push) Waiting to run
- Document QDesktopWidget → QScreen API migration completion
- Added commit bf0b1a3d (AVM and TetraIF modules)
- Updated main repo commit 55942b02 (submodule reference)
- All QApplication::desktop() usage migrated to QGuiApplication::primaryScreen()
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Entire-Checkpoint: 01M0TGM1ESM0JDMCKMMGZQF1GJ
This commit is contained in:
1 parent
55942b021e
commit
7b04be789e
1 file changed
+34
-1
+34
-1
@@ -1,9 +1,34 @@
|
|||||||
# Qt5/C++11 → Qt6/C++17 Migration Status
|
# Qt5/C++11 → Qt6/C++17 Migration Status
|
||||||
|
|
||||||
## Session 017: QRegExp Migration Complete (2026-08-22)
|
## Session 017: QDesktopWidget Migration Complete (2026-08-22)
|
||||||
|
|
||||||
### ✅ Completed Work
|
### ✅ Completed Work
|
||||||
|
|
||||||
|
#### QDesktopWidget → QScreen Migration Complete
|
||||||
|
Migrated all QApplication::desktop() usage to QGuiApplication::primaryScreen() for Qt6 compatibility:
|
||||||
|
|
||||||
|
**Files Updated:**
|
||||||
|
1. **Lts/Plugins/AudioVideoManagement/Gui/MobileVideoSystem/avm_mvs_video_team_gui_plugin.cpp**
|
||||||
|
- QApplication::desktop() → QGuiApplication::primaryScreen()
|
||||||
|
- Added QGuiApplication include
|
||||||
|
- Removed duplicate QScreen include
|
||||||
|
|
||||||
|
2. **TetraIF/LogView/LogViewTelegramDialog.cpp**
|
||||||
|
- QApplication::desktop() → QGuiApplication::primaryScreen()
|
||||||
|
- Added QGuiApplication include
|
||||||
|
|
||||||
|
**API Changes Applied:**
|
||||||
|
- `QApplication::desktop()` → `QGuiApplication::primaryScreen()`
|
||||||
|
- `QDesktopWidget::screenGeometry()` → `QScreen::geometry()` or `availableGeometry()`
|
||||||
|
- `QDesktopWidget::logicalDpiX()` → `QScreen::logicalDotsPerInchX()`
|
||||||
|
|
||||||
|
**Previously Migrated (Commit 793c9f8b):**
|
||||||
|
- Lts/Plugins/Styles/Light/rme_light_style.cpp
|
||||||
|
- Lts/Plugins/Styles/Dark/rme_dark_style.cpp
|
||||||
|
|
||||||
|
This completes the QDesktopWidget API migration across all modules.
|
||||||
|
QApplication::desktop() is deprecated in Qt5 and removed in Qt6.
|
||||||
|
|
||||||
#### QRegExp → QRegularExpression Migration Complete
|
#### QRegExp → QRegularExpression Migration Complete
|
||||||
Migrated all QRegExp usage to QRegularExpression for Qt6 compatibility across the codebase:
|
Migrated all QRegExp usage to QRegularExpression for Qt6 compatibility across the codebase:
|
||||||
|
|
||||||
@@ -107,6 +132,12 @@ Fixed all compilation errors preventing BUILD_RTI=OFF configuration from buildin
|
|||||||
### 📝 Commits
|
### 📝 Commits
|
||||||
|
|
||||||
#### qt-migration-legatus (submodule)
|
#### qt-migration-legatus (submodule)
|
||||||
|
- **Commit bf0b1a3d**: QDesktopWidget → QScreen: Complete migration in AVM and TetraIF modules
|
||||||
|
- avm_mvs_video_team_gui_plugin.cpp: QApplication::desktop() → QGuiApplication::primaryScreen()
|
||||||
|
- LogViewTelegramDialog.cpp: QApplication::desktop() → QGuiApplication::primaryScreen()
|
||||||
|
- Added QGuiApplication includes where needed
|
||||||
|
- This completes QDesktopWidget API migration across all modules
|
||||||
|
|
||||||
- **Commit f15f342a**: QRegExp → QRegularExpression migration complete
|
- **Commit f15f342a**: QRegExp → QRegularExpression migration complete
|
||||||
- Migrated all QRegExp usage to QRegularExpression
|
- Migrated all QRegExp usage to QRegularExpression
|
||||||
- Updated symbol_dictionary_impl.cpp, mil2525d_to_mil2525c.cpp
|
- Updated symbol_dictionary_impl.cpp, mil2525d_to_mil2525c.cpp
|
||||||
@@ -122,6 +153,8 @@ Fixed all compilation errors preventing BUILD_RTI=OFF configuration from buildin
|
|||||||
- RTI stub headers for OFF builds
|
- RTI stub headers for OFF builds
|
||||||
|
|
||||||
#### qt6-migration-pipeline (main repo)
|
#### qt6-migration-pipeline (main repo)
|
||||||
|
- **Commit 55942b02**: Update submodule qt-migration-legatus to bf0b1a3d
|
||||||
|
- QDesktopWidget → QScreen migration complete (AVM, TetraIF)
|
||||||
- **Commit a7da810a**: Update MIGRATION_STATUS.md with QRegExp migration progress
|
- **Commit a7da810a**: Update MIGRATION_STATUS.md with QRegExp migration progress
|
||||||
- **Commit 30a0f889**: Update qt-migration-legatus submodule to f15f342a
|
- **Commit 30a0f889**: Update qt-migration-legatus submodule to f15f342a
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user