diff --git a/Plugin-migration-to-be-compatible-with-Qt5-and-Qt6.md b/Plugin-migration-to-be-compatible-with-Qt5-and-Qt6.md index a642dc1..b5ff22a 100644 --- a/Plugin-migration-to-be-compatible-with-Qt5-and-Qt6.md +++ b/Plugin-migration-to-be-compatible-with-Qt5-and-Qt6.md @@ -19,10 +19,15 @@ This will get you in the right direction but might not do all necessary changes. - [Porting to Qt 6](https://doc.qt.io/qt-6/portingguide.html) - [Changes to Qt Modules in Qt 6](https://doc.qt.io/qt-6/modulechanges.html) - e.g. [QAction has moved to QtGui](https://doc.qt.io/qt-6/widgets-changes-qt6.html#qaction-qactiongroup)! -- [Qt Namespace](https://doc.qt.io/qt-6/qt.html) lists all those enums +- [Qt Namespace](https://doc.qt.io/qt-6/qt.html), all enums in Qt ## Manual checks +Using the link above about [Qt Namespace](https://doc.qt.io/qt-6/qt.html), enum must changed accordingly. + +For instance : + PyQt5 | PyQt6 :---: | :---: Qt.UserRole | Qt.ItemDataRole.UserRole +Qt.blue | Qt.GlobalColor.blue \ No newline at end of file