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
1a27d327cb
commit
c6a343b382
@ -7,4 +7,5 @@ It's possible to make a plugin for both Qt5 and Qt6.
|
||||
1. `pip install astpretty tokenize-rt`
|
||||
1. Install `python3-pyqt6`, `python3-pyqt6.qtsvg`, `python3-pyqt6.qsci`
|
||||
1. Download the script available on [GitHub](https://github.com/qgis/QGIS/blob/master/scripts/pyqt5_to_pyqt6/pyqt5_to_pyqt6.py)
|
||||
1. `pyqt5_to_pyqt6.py /path/to/plugin`
|
||||
1. `pyqt5_to_pyqt6.py /path/to/plugin`
|
||||
1. Edit the `metadata.txt` by adding `supportsQt6=True`
|
Loading…
x
Reference in New Issue
Block a user