Open Arthoni opened 1 year ago
Migrate progressively:
QtWidgets : https://doc.qt.io/qt-6/widgets-changes-qt6.html
- Kernel classes
- [x] The QWidget class
- [x] QDesktopWidget and QApplication::desktop()
- [x] QAction, QActionGroup
- Widgets
- [x] The QAbstractButton class
- [x] The QComboBox class
- [x] The QDateTimeEdit class
- ItemViews
- [x] The QAbstractItemView class
- Styling Classes and related APIs
- [x] Style sheet changes
- Utility Classes
- [x] QUndoCommand, QUndoStack, and QUndoGroup
QtCore : https://doc.qt.io/qt-6/qtcore-changes-qt6.html
- [x] QVector, QList : identical, care: no copy anymore
- [x] QProcess (https://doc.qt.io/qt-6/qtcore-changes-qt6.html#the-qprocess-class)
- [x] QVariant
- [x] QRegExp
- [x] QEvent
Workflow
- Select a category of changes
- Identify the impacted code
- Check warnings and Clazy yaml for corresponding files
- Implement code conversion
Context
cf https://doc.qt.io/qt-6/supported-platforms.html
Qt 5.15 : End of support may 2023
Qt 6.5 (LTS, until at least 2025)
Porting from Qt 5 to Qt 6
Content:
Compilability:
Runability:
Systems packaging: