Bug report #16189
QgsMapLayerRegistry not defined in current master?
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||invalid|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||24099|
I wrote a small python script to load a bunch of WMTS layers:
This is working in 2.x but in 3.x it fails with:
Traceback (most recent call last):
File "C:\\OSGEO4~1\\apps\\Python36\\lib\\code.py", line 91, in runcode
File "<input>", line 1, in <module>
NameError: name 'QgsMapLayerRegistry' is not defined
But it should still be there isn't it?