You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to upgrade my MapsPrinter plugin to v3 and following the QGIS wiki page, I ran qgis2api on folder but nothing in the outputs seems usable to me (maybe I misunderstood the scope and aim of the script) but wanted to report:
$ ./qgis2apifinder /e/Harrissou/GitHub/MapsPrinter/
E:/Harrissou/GitHub/MapsPrinter/maps_printer.py::114: Found buttonBox -> ['(class QgsSvgSelectorDialog) has been removed as they were leaking implementation details.']
E:/Harrissou/GitHub/MapsPrinter/maps_printer.py::146: Found buttonBox -> ['(class QgsSvgSelectorDialog) has been removed as they were leaking implementation details.']
E:/Harrissou/GitHub/MapsPrinter/maps_printer.py::148: Found buttonBox -> ['(class QgsSvgSelectorDialog) has been removed as they were leaking implementation details.']
E:/Harrissou/GitHub/MapsPrinter/maps_printer.py::235: Found isVisible -> ['(class QgsLayerTreeGroup) is moved to QgsLayerTreeNode', '(class QgsLayerTreeLayer) is moved to QgsLayerTreeNode']
E:/Harrissou/GitHub/MapsPrinter/maps_printer.py::310: Found mode -> ['(class QgsMapToolAdvancedDigitizing) and CaptureMode enum have been moved to QgsMapToolCapture subclass']
E:/Harrissou/GitHub/MapsPrinter/maps_printer.py::390: Found create -> ['(class QgsSvgSelectorWidget) has been removed - use ordinary constructor instead.']
E:/Harrissou/GitHub/MapsPrinter/maps_printer.py::434: Found buttonBox -> ['(class QgsSvgSelectorDialog) has been removed as they were leaking implementation details.']
E:/Harrissou/GitHub/MapsPrinter/maps_printer.py::437: Found buttonBox -> ['(class QgsSvgSelectorDialog) has been removed as they were leaking implementation details.']
E:/Harrissou/GitHub/MapsPrinter/maps_printer.py::459: Found buttonBox -> ['(class QgsSvgSelectorDialog) has been removed as they were leaking implementation details.']
E:/Harrissou/GitHub/MapsPrinter/maps_printer.py::460: Found buttonBox -> ['(class QgsSvgSelectorDialog) has been removed as they were leaking implementation details.']
E:/Harrissou/GitHub/MapsPrinter/maps_printer.py::668: Found save -> ['(class QgsFeatureRendererV2) expects QgsReadWriteContext reference as the last argument']
E:/Harrissou/GitHub/MapsPrinter/maps_printer.py::670: Found save -> ['(class QgsFeatureRendererV2) expects QgsReadWriteContext reference as the last argument']
E:/Harrissou/GitHub/MapsPrinter/maps_printer.py::689: Found map -> ['(class QgsMapCanvas) has been removed because QgsMapCanvasMap is not available in API anymore.']
E:/Harrissou/GitHub/MapsPrinter/maps_printer.py::723: Found create -> ['(class QgsSvgSelectorWidget) has been removed - use ordinary constructor instead.']
E:/Harrissou/GitHub/MapsPrinter/maps_printer.py::730: Found isVisible -> ['(class QgsLayerTreeGroup) is moved to QgsLayerTreeNode', '(class QgsLayerTreeLayer) is moved to QgsLayerTreeNode']
E:/Harrissou/GitHub/MapsPrinter/maps_printer_dialog_base.py::74: Found buttonBox -> ['(class QgsSvgSelectorDialog) has been removed as they were leaking implementation details.']
E:/Harrissou/GitHub/MapsPrinter/maps_printer_dialog_base.py::75: Found buttonBox -> ['(class QgsSvgSelectorDialog) has been removed as they were leaking implementation details.']
E:/Harrissou/GitHub/MapsPrinter/maps_printer_dialog_base.py::76: Found buttonBox -> ['(class QgsSvgSelectorDialog) has been removed as they were leaking implementation details.']
E:/Harrissou/GitHub/MapsPrinter/maps_printer_dialog_base.py::77: Found buttonBox -> ['(class QgsSvgSelectorDialog) has been removed as they were leaking implementation details.']
E:/Harrissou/GitHub/MapsPrinter/maps_printer_dialog_base.py::78: Found buttonBox -> ['(class QgsSvgSelectorDialog) has been removed as they were leaking implementation details.']
E:/Harrissou/GitHub/MapsPrinter/maps_printer_dialog_base.py::79: Found buttonBox -> ['(class QgsSvgSelectorDialog) has been removed as they were leaking implementation details.']
E:/Harrissou/GitHub/MapsPrinter/maps_printer_dialog_base.py::158: Found buttonBox -> ['(class QgsSvgSelectorDialog) has been removed as they were leaking implementation details.']
E:/Harrissou/GitHub/MapsPrinter/maps_printer_dialog_base.py::166: Found buttonBox -> ['(class QgsSvgSelectorDialog) has been removed as they were leaking implementation details.']
Found 23 API2 usages
Files with API2 usages:
E:/Harrissou/GitHub/MapsPrinter/maps_printer.py -> 15 usages found
E:/Harrissou/GitHub/MapsPrinter/maps_printer_dialog_base.py -> 8 usages found
###############################################################################
NOTE:
This tool is based on a machine parsing of https://qgis.org/api/api_break.html so the result are as good as the
information there. Also, being a simple parser, it just give an hint were to
look at. It is by no means a complete tool to find all the
possible API incompatibility.
Methods are matched just based on their names and not on their classes,
so there might be various false positives.
My plugin is about composers and use the old composer code; no mention in the output and if i'm not wrong none of the reported classes is used in the plugin. Also, eg buttonBox is simply a widget name.
I don't know if this report should be of interest to you but as it does not do what I thought it would do, i wanted to report it.
The text was updated successfully, but these errors were encountered:
I'm trying to upgrade my MapsPrinter plugin to v3 and following the QGIS wiki page, I ran qgis2api on folder but nothing in the outputs seems usable to me (maybe I misunderstood the scope and aim of the script) but wanted to report:
My plugin is about composers and use the old composer code; no mention in the output and if i'm not wrong none of the reported classes is used in the plugin. Also, eg buttonBox is simply a widget name.
I don't know if this report should be of interest to you but as it does not do what I thought it would do, i wanted to report it.
The text was updated successfully, but these errors were encountered: