From 3566ba39b5b8e199ffcc876b362ba5c3c9d15614 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Trimaille?= Date: Wed, 30 Oct 2024 16:13:10 +0100 Subject: [PATCH] Created Plugin migration to be compatible with Qt5 and Qt6 (markdown) --- Plugin-migration-to-be-compatible-with-Qt5-and-Qt6.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Plugin-migration-to-be-compatible-with-Qt5-and-Qt6.md diff --git a/Plugin-migration-to-be-compatible-with-Qt5-and-Qt6.md b/Plugin-migration-to-be-compatible-with-Qt5-and-Qt6.md new file mode 100644 index 0000000..32f34a3 --- /dev/null +++ b/Plugin-migration-to-be-compatible-with-Qt5-and-Qt6.md @@ -0,0 +1,9 @@ +# Qt6 migration + + +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. `/path/to/qgis/scripts/pyqt5_to_pyqt6/pyqt5_to_pyqt6.py /path/to/plugin` \ No newline at end of file