From 884c0d44e117f39eaf3ad95bc468428eaa662cd5 Mon Sep 17 00:00:00 2001 From: Richard Duivenvoorde Date: Tue, 9 Jan 2018 11:28:47 +0100 Subject: [PATCH] Updated Plugin migration to QGIS 3 (markdown) --- Plugin-migration-to-QGIS-3.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Plugin-migration-to-QGIS-3.md b/Plugin-migration-to-QGIS-3.md index ad2443b..a0bf28f 100644 --- a/Plugin-migration-to-QGIS-3.md +++ b/Plugin-migration-to-QGIS-3.md @@ -6,4 +6,20 @@ Among the necessary info: * From2to3 script from Jürgen * QGIS3 compat module (so 3.x plugins will also work on 2.18) from Matthias. -When completed, we need to put out a call for plugin authors to start porting. \ No newline at end of file +When completed, we need to put out a call for plugin authors to start porting. + +## Minimal info + +- run scripts/2to3 (https://github.com/qgis/QGIS/blob/master/scripts/2to3) on your plugin +- have a good look at: https://qgis.org/api/api_break.html +- make sure you do python3 and QT5 ! +- tweak and fix until it works :-) + +it was more work then I hoped, but after setting + +``` +qgisMinimumVersion=2.99 +qgisMaximumVersion=3.0 (optional) +``` + +in metadata you should see your plugin in QGIS 2.99 and up \ No newline at end of file