From c6a343b3820d3b1d82ed7c1e43cdbe0cd7139067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Trimaille?= Date: Wed, 30 Oct 2024 16:31:44 +0100 Subject: [PATCH] Updated Plugin migration to be compatible with Qt5 and Qt6 (markdown) --- Plugin-migration-to-be-compatible-with-Qt5-and-Qt6.md | 3 ++- 1 file changed, 2 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 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