92734 Commits

Author SHA1 Message Date
Nyall Dawson
7a4cb02ae9 Add new control images for qt 6
The new results are valid -- the small differences in font metric
calculations on qt6 mean that the labels can be placed in closer
locations vs qt 5's placement
2025-08-26 14:29:28 +10:00
Nyall Dawson
98dc165be0 Add some test masks for qt6 rendering 2025-08-26 14:29:28 +10:00
Nyall Dawson
0ba7673368 Fix elevation profile canvas test on qt 6
The test was incorrectly accessing freed objects (mouse events),
assuming that we had ownership of them. Use copies instead
to avoid this.
2025-08-26 13:40:23 +10:00
Nyall Dawson
f9c6025ca0 Fix processing_gui test on qt6
The test was only passing on qt5 builds because QMessageBox::exec
was immediately returning false WITHOUT showing the dialog. On
Qt 6 builds the dialog WAS correctly showing, and since its a
blocking dialog it hangs the test.

Workaround by disabling the confirmation dialog when running
as unit tests.
2025-08-26 05:16:50 +10:00
Jean Felder
63ccd69faf test(grass): Update hash for grass 8.4 2025-08-25 18:47:07 +02:00
Nyall Dawson
d7c31d45d2 Test mask 2025-08-25 19:26:48 +10:00
Nyall Dawson
72a6b06920 Fix vector tile test on Qt 6
Stabilise the labels shown in the test -- the test is actually
trying to label EVERY country, so the collision avoidance was
limiting to a semi-random set depending on the qt internal hash logic.
2025-08-25 19:26:48 +10:00
Nyall Dawson
f799545931 Test mask 2025-08-25 13:34:09 +10:00
Nyall Dawson
2e6f6c825d [processing] Add hidden font params to generate elevation profile alg
And use to ensure tests for this algorithm correctly use the
standard QGIS test fonts
2025-08-25 13:34:09 +10:00
Nyall Dawson
13a3196a17 Fix crash in QgsAbstractProjectStoredObjectManager on qt6
Debug enabled qt6 builds crash when QgsAbstractProjectStoredObjectManager
are called, as the base class destructor tries to emit a signal after the
derived class destructor has been executed. This triggers an assert
in Qt6.

We need to explicitly clear the objects in the derived class
destructors, so that the "XXXremoved" signals are emitted from
the derived class destructor in order to avoid this assert.
2025-08-25 13:33:21 +10:00
Nyall Dawson
62b4cddd66 Ensure qgsVariantEqual returns same result for qt5/qt6 for null string comparisons 2025-08-25 13:33:07 +10:00
Nyall Dawson
63421f9bd0 [postgres] Fix crash when reading fields on Qt6 builds
Don't try to access first character in empty QString -- this
triggers an assert in Qt6 builds
2025-08-25 13:33:07 +10:00
Nyall Dawson
acf3f0ae7f Fix connection string for postgres test
Don't assume connection is using qgis_test service
2025-08-25 13:33:07 +10:00
qgis-bot
0af39b0778 auto sipify 🍺 2025-08-25 03:00:47 +00:00
Mathieu Pellerin
bbbea51070 [plots] Add default marker/line and fill symbols for bar/line charts 2025-08-25 09:58:10 +07:00
qgis-bot
24b306e646 auto sipify 🍺 2025-08-25 02:20:08 +00:00
Nyall Dawson
9567c00df4 Add "Include automatically in print layout legend items" checkboxes
Adds this new checkbox to vector, raster, mesh and point cloud
layer properties legend tab. Checked by default. Users must
uncheck to exclude that layer from print layout legends by default.

Also adds the legend page for mesh and point cloud layers, with the
generic setting for controlling embedded legend widgets.
2025-08-25 12:17:32 +10:00
Nyall Dawson
c022fcaba1 Exclude excluded items when switch off auto-update legend 2025-08-25 12:17:32 +10:00
Nyall Dawson
6059c5d998 Filter excluded items from layout legend widget when appropriate 2025-08-25 12:17:32 +10:00
Nyall Dawson
1fbddb214d [api] Make QgsLayerTreeView proxy handling more flexible
Allow use of custom QgsLayerTreeProxyModel subclasses
2025-08-25 12:17:32 +10:00
Nyall Dawson
6c63043138 Add missing sip cast 2025-08-25 12:17:32 +10:00
Nyall Dawson
c549f43bf9 When rendering layout legends, respect exclude-by-default flag 2025-08-25 12:17:32 +10:00
Nyall Dawson
88c261259c Use more flexible approach for layout legend filtering 2025-08-25 12:17:32 +10:00
Nyall Dawson
2a434da498 Always write/read legend attributes, add flags API 2025-08-25 12:17:32 +10:00
Nyall Dawson
3e8c2cdf14 Add layer legend flags 2025-08-25 12:17:32 +10:00
Juergen E. Fischer
0947478dcc fix https://cdash.orfeo-toolbox.org/viewBuildError.php?buildid=33650 2025-08-24 18:04:24 +02:00
Matthias Kuhn
e2eab9be39
Deduplicate all libs (not just Qt) (#62945)
* Deduplicate all libs (not just Qt)

* Only dedup .so and .dylib
2025-08-24 15:30:03 +02:00
Nyall Dawson
640c114721 Fix regression in transforming bounding box involving web mercator
...and geographic CRS when a reversible coordinate operation is
in effect.

Follow up https://github.com/qgis/QGIS/pull/46939
2025-08-24 10:12:22 +10:00
qgis-bot
8d42d7c6e0 auto sipify 🍺 2025-08-22 07:57:39 +00:00
Loïc Bartoletti
064eb69ecc
Merge pull request #62572 from lbartoletti/feature/add_chamfer_fillet
Feature/add chamfer fillet
2025-08-22 09:55:02 +02:00
Nyall Dawson
40c45f48c4 Fix warning on release builds
Fix (false positive) "may be used uninitialized" warning when building release builds
2025-08-22 13:44:04 +10:00
qgis-bot
9e4c5c35a9 auto sipify 🍺 2025-08-22 00:43:54 +00:00
Mathieu Pellerin
ae91de773a Add test masks 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
366fdfc307 Address second round of reviews 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
d05253efdc Fix qgsquick compilation error 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
c9a13e67be Add test coverage for new classes 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
6d2c2adadc Draft conversions methods 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
63ed8cb23a Add plot render context object and arguments 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
c6c099cbd2 Address review 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
c233382cd6 Break down qgschartplot.cpp/h into distinct files for each chart plot type 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
bb04984d95 QgsChartPlotRegistry -> QgsPlotRegistry 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
d44827e35f Bump sip parts count 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
36194e00ca Save/restore chart plot symbols when writing and reading to/from XML 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
903b5e0a5a Fix cppcheck and documentation check 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
75ec5e4962 Address comments provided during the QEP review phase 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
abcb1785c9 Add missing files 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
9a130a8181 Add missing documentation 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
3e152914cb Allow for a series to offer all three symbol types to improve line chart rendering 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
6c521b176d Allow interuption of line chart when data missing 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
d837af123f Implement a chart registry, to be used in GUI when offering a combobox of available charts 2025-08-22 10:41:20 +10:00