Updated Plugin migration to QGIS 3 (markdown)

Étienne Trimaille 2019-09-11 15:37:42 +02:00
parent 733c0cc376
commit c9b1249ee8

@ -22,6 +22,7 @@ While in QGIS 2, plugins were located in your home directory in the `.qgis2/pyth
- This command will print the diff. If you want to write these changes to files, use `-w`
- The script will automatically update from Py2 to Py3, from Qt4 to the correct PyQt version. For instance `from PyQt4.QtGui import QMainWindow` will become `from qgis.PyQt.QtWidgets import QMainWindow`.
- The command will update some QGIS API changes.
- without `qgis2to3`, using `2to3` from QGIS source tree, located in `path/to/QGIS/scripts/2to3`. Follow instructions from `qgis2to3`
- `qgis2apifinder /path/to/my/plugin`
- This will show you potential api v2 only usages (as listed on https://qgis.org/api/api_break.html)
- set `qgisMinimumVersion=3.0` in metadata.txt