QGIS 4.0 PyQt6 shortcut context compatibility fix.
- Fixed QGIS 4.0 plugin load failure: replaced deprecated
Qt.ApplicationShortcut
with Qt.ShortcutContext.ApplicationShortcut (21 occurrences in
shortcut setup).
QGIS 4.0 uses PyQt6, which moved shortcut context enums into
ShortcutContext
namespace. Without this fix, the plugin fails to load with
AttributeError.
- All 18 Ctrl+Shift+letter shortcuts, repeat-last-tool,
focus-search,
shortcut-guide, docs-help, smoke-test, palette, cancel,
edit-toggle, preflight,
quick-start, checklist, pin-last, diagnostics,
reset-workspace, usage-stats,
health, shortcut-audit, issue-template, and release-readiness
shortcuts
now work correctly under QGIS 4.0.
yes
geo140195philo
2026-05-26T05:39:16.636868+00:00
3.28.0
4.99.0
None
no
Plugin Tags