From f32e9204009f5eabc6515a616d6dda8e59f8bf77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Trimaille?= Date: Tue, 7 Jan 2025 10:59:23 +0100 Subject: [PATCH] Updated Plugin migration to be compatible with Qt5 and Qt6 (markdown) --- Plugin-migration-to-be-compatible-with-Qt5-and-Qt6.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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