mirror of
https://github.com/qgis/QGIS.git
synced 2025-06-22 00:02:40 -04:00
Updated Plugin migration to be compatible with Qt5 and Qt6 (markdown)
parent
b3042cc431
commit
94bf07f174
@ -79,6 +79,9 @@ lint:qt6:
|
||||
- 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), all enums in Qt
|
||||
|
||||
## Differences Between PyQt6 and PyQt5 (Riverbank Computing)
|
||||
https://www.riverbankcomputing.com/static/Docs/PyQt6/pyqt5_differences.html "gives an overview of the differences between PyQt6 and PyQt5. This is not an exhaustive list and does not go into the detail of the differences between the Qt v6 and Qt v5 APIs."
|
||||
|
||||
## Manual conversion
|
||||
|
||||
To make a code working for both versions, it's mostly about how enums are called. For instance, according to [Qt Namespace](https://doc.qt.io/qt-6/qt.html) :
|
||||
|
Loading…
x
Reference in New Issue
Block a user