diff --git a/Plugin-migration-to-QGIS-3.md b/Plugin-migration-to-QGIS-3.md index 2e3c5d8..b082754 100644 --- a/Plugin-migration-to-QGIS-3.md +++ b/Plugin-migration-to-QGIS-3.md @@ -6,7 +6,7 @@ In QGIS 3, GeoPackage is much more present. Avoid creating shapefile in your plu Note that you can easily provide one version for QGIS 2 and QGIS 3 at the same time. Fill you metadata.txt correctly with `qgisMinimumVersion` and `qgisMaximumVersion`. The plugin manager will ship automatically the highest version according to the QGIS version. -## Plugin location +## Plugin location on file system While in QGIS 2, plugins where located in your home directory in a `.qgis2/python/plugins`. In QGIS 3, this folder is now in a specific QGIS profile. You can find this folder by going to `Settings` -> `User profiles` -> `Open Active Profile folder`. You will find `python/plugins`. ## Minimal info @@ -32,8 +32,9 @@ You can find Python API documentation at http://python.qgis.org/master/ You can use the [qgis2to3](http://www.opengis.ch/2018/04/13/porting-qgis-plugins-to-api-v3-strategy-and-tools/) tools and your IDEs (PyCharm or Eclipse) to step through your code and find and solve incompatibilities. Alternatively, you can install First Aid plugin and use it within QGIS. More info can be found here: https://www.lutraconsulting.co.uk/blog/2016/06/12/introducing-first-aid-plugin/ -## Other possible issues Python plugin issues -QGIS 3 MetaSearch user migration: problems with Python plugins? Clear out your *.pyc files (so QGIS Python can compile via Python 3). +## Other possible issues Python plugin issues and tips +* MetaSearch user migration: problems with Python plugins? Clear out your *.pyc files (so QGIS Python can compile via Python 3). +* QuickOSM migration: At the beginning of the migration, `Plugin reloader` couldn't work with my plugin. I was using the plugin manager to enable/disable the plugin. It was reloading the plugin, instead of relaunching QGIS. ## More info * https://gisforthought.com/updating-a-plugin-from-qgis-2-to-qgis-3/