Did you install PyQtWebEngine “manually” using pip install? If that is the 
case, it will not be bundled with qgis and needs to be imported from Pyqt 
directly:

‘from qgis.PyQt.QtWebEngineWidgets import QWebEngineView’

needs to be replaced by :

‘from PyQt5.QtWebEngineWidgets import QWebEngineView’


As of now, the only way to get this working out of the box is to install qgis 
with Osgeo4W installer.

Best,

Jean-Baptiste Peter

From: i...@opengis.it <i...@opengis.it>
Sent: Tuesday, July 9, 2024 3:01 PM
To: jbpe...@outlook.com
Cc: qgis-developer@lists.osgeo.org
Subject: RE: Re:[QGIS-Developer] Request for Initial Feedback on Layer Atlas 
Plugin

OSGeo4W Shell:
C:\Program Files\QGIS 3.38.0>pip list
PyQtWebEngine               5.15.6
PyQtWebEngine-Qt5           5.15.2

I've PyQtWebEngine dependancy
Before release make sure it can work.

Andrea Ordonselli
OpenGIS.it

Da "Jean-Baptiste Peter" jbpe...@outlook.com<mailto:jbpe...@outlook.com>
A "i...@opengis.it<mailto:i...@opengis.it>" 
i...@opengis.it<mailto:i...@opengis.it>
Cc "qgis-developer@lists.osgeo.org<mailto:qgis-developer@lists.osgeo.org>" 
qgis-developer@lists.osgeo.org<mailto:qgis-developer@lists.osgeo.org>
Data Tue, 9 Jul 2024 12:51:12 +0000
Oggetto RE: Re:[QGIS-Developer] Request for Initial Feedback on Layer Atlas 
Plugin

I don’t think this will work with qgis installed using .msi as the installer 
does not include PyQtWebEngine.

It should work out of the box using qgis osgeo4W installer which includes the 
latest version of PyQtWebEngine (5.15.6) which is required for the plugin to 
work. There should not be any other dependencies.

Best,

Jean-Baptiste Peter


From: i...@opengis.it<mailto:i...@opengis.it> 
<i...@opengis.it<mailto:i...@opengis.it>>
Sent: Tuesday, July 9, 2024 2:41 PM
To: jbpe...@outlook.com<mailto:jbpe...@outlook.com>
Cc: qgis-developer@lists.osgeo.org<mailto:qgis-developer@lists.osgeo.org>
Subject: Re:[QGIS-Developer] Request for Initial Feedback on Layer Atlas Plugin

In a clean install of QGIS 3.38.0, installing the package via the zip 
downloaded from github, the plugin does not work. The icon is not visible and 
if I close and reopen QGIS it does not start.
No message in python console.
What additional dependencies does it need?
I use win10 and I installed QGIS via .msi

Andrea Ordonselli
OpenGIS.it

Da "QGIS-Developer" 
qgis-developer-boun...@lists.osgeo.org<mailto:qgis-developer-boun...@lists.osgeo.org>
A "qgis-developer@lists.osgeo.org<mailto:qgis-developer@lists.osgeo.org>" 
qgis-developer@lists.osgeo.org<mailto:qgis-developer@lists.osgeo.org>
Cc
Data Tue, 9 Jul 2024 09:16:22 +0000
Oggetto [QGIS-Developer] Request for Initial Feedback on Layer Atlas Plugin

Dear Developers,

I have been experimenting for a while with QWebEngineView which opens a lot of 
possibilities for plugin development and started to implement a new plugin to 
explore and share layers directly from QGIS by simply dragging and dropping 
them from the layer panel.

Here is a short screen recording to see how it works:
https://www.youtube.com/watch?v=k5k74faBJKo

As there are a few things remaining to do, the plugin not yet uploaded to the 
plugin repo but it is mostly functional. Initial feedback from interested 
testers would be very useful!

Here is the GitHub repository to try it out:
https://github.com/jbp35/layer-atlas-plugin/

Thank you for your time and assistance!

Best regards,

Jean-Baptiste Peter

_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to