Hello,
I am trying to figure out if there is an easy way to add a layer using python
API knowing only the file path of the source dataset. I would like to let QGIS
figure out which provider to use and what sublayers to load if it is an
archive. A bit like if I was drag dropping a file on the ma
Hi,
Interesting, according to QT doc WebGLEnabled should be enabled by default if
available but I will add it anyway as you suggested.
Would you mind sharing the code to install missing dependencies once you are
done with it? I have not looked into it yet and this would save me some time!
Than
This is head spinning! For OSGeo4W install with "python3-pyqtwebengine"
selected, are you testing this in a VM? I wonder if the crash at startup may be
caused by the fact that qwebengineview is using opengl which is not working
with emulated graphics. This works on my desktop.
I am sure for the
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 QWebEngineVie
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 o
Dear Andreas,
I have been playing with QWebEngineView for a while and managed to get it to
work using the recently updated default libs of Osgeo4W and the following code:
https://github.com/jbp35/layer-atlas-plugin/blob/main/Layer_Atlas_dockwidget.py
>From my understanding, two things still have
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 s
Hi Andrea,
I faced the same issue recently and found these two tools to convert DEM into
TIN:
- dem2mesh: https://github.com/OpenDroneMap/dem2mesh
- tin-terrain https://github.com/heremaps/tin-terrain
dem2mesh worked in my use case to convert a large DEM for 3d visualization. It
produces nice
self.pluginIsActive = True
self.dockwidget.show()
Thank you!
Best,
--
Jean-Baptiste PETER
-Original Message-
From: Nyall Dawson
Sent: Wednesday, November 16, 2022 11:31 PM
To: Jean-Baptiste Peter
Cc: qgis-developer@lists.osgeo.org
Subject: Re: [QGIS-Devel
Hi,
I am working on a QGIS plugin which is based on QGIS plugin Builder dock widget
template. The default behavior of this template is that the dock widget is not
restored after closing and reopening QGIS. Here is the repo of my plugin:
https://github.com/jbp35/layout_panel
I managed to reopen
Hi,
Following up on my previous post, I managed to get qwebengine to work within a
plugin on windows 10.
I had to do the following changes :
- On QGIS side, I had to change a line in the main.cpp from core to set
"Qt::AA_ShareOpenGLContexts". I already posted a PR for this :
https://github.com
11 matches
Mail list logo