Re: [QGIS-Developer] Recommended method to display a webpage in a plugin

2022-04-01 Thread Jean-Baptiste Peter via QGIS-Developer
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

[QGIS-Developer] Fwd: [Qgis-user] Editing a multipolygon object changes type from Multipolygon to Polygon

2022-04-01 Thread Jörg Höttges via QGIS-Developer
Hi everyone, I'm using QGIS 3.16 to 3.22. I created a table with multipolygon objects in a SpatiaLite database. When editing one of the polygons there appears a warning "Die Operation würden Geometrietyp ändern" ("The operation would change geometry type") and saving of the changings failes.

[QGIS-Developer] QEP: Use QgsExpression to set a compiled subset string

2022-04-01 Thread Alessandro Pasotti via QGIS-Developer
Hi, I have submitted a QEP for subset strings based on expressions, please have a look: https://github.com/qgis/QGIS-Enhancement-Proposals/issues/249 Comments are welcome! Cheers -- Alessandro Pasotti QCooperative: www.qcooperative.net ItOpen: www.itopen.it

Re: [QGIS-Developer] Plugin dependency with binaries: 'best' way to guide user to install?

2022-04-01 Thread Pedro Camargo via QGIS-Developer
Take a look at how it is done in the AequilibraE plugin. I basically ship the plugin without the binaries and create a menu item where the user can choose to download the binaries. Once downloaded, restarting the plugin allows it to identify the binaries and deactivate that menu item. Cheers,

Re: [QGIS-Developer] Unexpected results from GPKG table query using executeSql()

2022-04-01 Thread Alessandro Pasotti via QGIS-Developer
Hi Raymond, I'll have a look but keep in mind that for GPKG the implementation uses GDAL/OGR to execute the queries, there might be some fid/id handling that messes up with the returned fields. On Fri, Apr 1, 2022 at 8:28 AM Raymond Nijssen wrote: > For a workaround I found that selecting thi

[QGIS-Developer] How to run QGIS 3 processing tool (DISSOLVE) in c++

2022-04-01 Thread SSchmidt--- via QGIS-Developer
Hello, for my QGIS C++ Plugin I have to run the QgsDissolveAlgorithm- processing tool. I have found an example, how to do that in python: import processing infn = "path/to/dissolve" outfn2 = "output/path/value/dissolve" #dissolve features based on values in an attribute table field processing.r

Re: [QGIS-Developer] [Qgis-psc] FOSS4G 2022: possible QGIS Dev meeting?

2022-04-01 Thread Paolo Cavallini via QGIS-Developer
Quite right, we'll update the info. Thanks for pointing this out. Cheers. Il 30/03/22 17:23, Marco Bernasocchi ha scritto: > Hi Paolo, I added the page to the list on the main wiki. > Do you have a bit more details on where the venue is? You > wrote University of Firenze on [1] but there are multi