Skip to content

QGIS 4 not supported #90

@markjessell

Description

@markjessell

What is the bug or the crash?

Trying to install latest plugin_loopstructural from github

Steps to reproduce the issue

install plugin from qgis 4

gives error :

Couldn't load plugin 'loopstructural' due to an error when calling its classFactory() method

ModuleNotFoundError: No module named 'PyQt6.Qt'
Traceback (most recent call last):
File "C:\PROGRA1/QGIS401.0/apps/qgis/./python\qgis\utils.py", line 475, in startPlugin
plugins[packageName] = package.classFactory(iface)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/00073294/AppData/Roaming/QGIS/QGIS4\profiles\default/python/plugins\loopstructural_init
.py", line 33, in classFactory
from .plugin_main import LoopstructuralPlugin
File "C:\PROGRA1/QGIS401.0/apps/qgis/./python\qgis\utils.py", line 1082, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/00073294/AppData/Roaming/QGIS/QGIS4\profiles\default/python/plugins\loopstructural\plugin_main.py", line 35, in
from loopstructural.gui.dlg_settings import PlgOptionsFactory
File "C:\PROGRA1/QGIS401.0/apps/qgis/./python\qgis\utils.py", line 1082, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/00073294/AppData/Roaming/QGIS/QGIS4\profiles\default/python/plugins\loopstructural\gui\dlg_settings.py", line 15, in
from qgis.PyQt.Qt import QUrl
File "C:\PROGRA1/QGIS401.0/apps/qgis/./python\qgis\utils.py", line 1082, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA1/QGIS401.0/apps/qgis/./python\qgis\PyQt\Qt.py", line 25, in
from PyQt6.Qt import *
File "C:\PROGRA1/QGIS401.0/apps/qgis/./python\qgis\utils.py", line 1082, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'PyQt6.Qt'

Python version: 3.12.13 (main, Mar 5 2026, 15:14:54) [MSC v.1944 64 bit (AMD64)]
QGIS version: 4.0.0-Norrköping Norrköping, 1ddcee3d0e4

Python Path:
C:\Users\00073294\AppData\Roaming\QGIS\QGIS4\profiles\default\python\dependencies\3.12
C:/PROGRA1/QGIS401.0/apps/qgis/./python
C:/Users/00073294/AppData/Roaming/QGIS/QGIS4\profiles\default/python
C:/Users/00073294/AppData/Roaming/QGIS/QGIS4\profiles\default/python/plugins
C:/PROGRA1/QGIS401.0/apps/qgis/./python/plugins
C:\PROGRA1\QGIS401.0\apps\grass\grass84\etc\python
C:\Users\00073294\Documents
C:\Program Files\QGIS 4.0.0\bin\python312.zip
C:\PROGRA1\QGIS401.0\apps\Python312\DLLs
C:\PROGRA1\QGIS401.0\apps\Python312\Lib
C:\Program Files\QGIS 4.0.0\bin
C:\Users\00073294\AppData\Roaming\Python\Python312\site-packages
C:\PROGRA1\QGIS401.0\apps\Python312
C:\PROGRA1\QGIS401.0\apps\Python312\Lib\site-packages
C:\PROGRA1\QGIS401.0\apps\Python312\Lib\site-packages\win32
C:\PROGRA1\QGIS401.0\apps\Python312\Lib\site-packages\win32\lib
C:\PROGRA1\QGIS401.0\apps\Python312\Lib\site-packages\Pythonwin
C:/Users/00073294/AppData/Roaming/QGIS/QGIS4\profiles\default/python
C:\Users/00073294/AppData/Roaming/QGIS/QGIS4\profiles\default/python/plugins\geol_qmaps\biblio_Python
.

Versions

QGIS version
4.0.0-Norrköping
QGIS code revision
1ddcee3d0e4

Libraries
Qt version
6.8.1
Python version
3.12.13
GDAL version
3.12.2 — Chicoutimi
PROJ version
9.8.0
EPSG Registry database version
v12.049 (2026-02-14)
GEOS version
3.14.1-CAPI-1.20.5
SFCGAL version
No support
GeographicLib version
2.7.0
SQLite version
3.50.4
PDAL version
2.10.0
PostgreSQL client version
17.3
SpatiaLite version
5.1.0
QWT version
6.3.0
QScintilla2 version
2.14.1
OS version
Windows 11 Version 25H2

Active Python plugins
GeoSubSampler
0.1
MetaSearch
0.3.6
SRTM-Downloader
4.0.0
a00_qpip
1.4.4
db_manager
0.1.20
delete-all
1.1.1
geochem_plots
0.0.3
geol_qmaps
3.1.5
grassprovider
2.12.99
plugin_reloader
0.21
processing
2.12.99
qgis-stereonet
0.3.01
sgtool
0.3.01
slyr
8.3.5
tomofast_x_q
0.2.13

Supported QGIS version

  • I'm running a supported QGIS version according to the official roadmap.

New profile

  • I tried with a new QGIS profile

Additional context

No response

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions