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 4fc06fd..a6b97f9 100644 --- a/Plugin-migration-to-be-compatible-with-Qt5-and-Qt6.md +++ b/Plugin-migration-to-be-compatible-with-Qt5-and-Qt6.md @@ -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` \ No newline at end of file +1. `pyqt5_to_pyqt6.py /path/to/plugin` +1. Edit the `metadata.txt` by adding `supportsQt6=True` \ No newline at end of file