This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[python] Block imports of PyQt4 modules
Prevents crashes when PyQt4 modules are imported in QGIS 3.x. This instantly segfaults QGIS. Throwing an exception makes it easier to identify the cause as a faulty plugin, and shows exactly where the bad import is located.
- Loading branch information
Showing 1 changed file with 8 additions and 1 deletion.