93270 Commits

Author SHA1 Message Date
Nyall Dawson
5da44e25e6 Increase test tolerance 2025-08-27 16:24:59 +10:00
Nyall Dawson
99b0037450 Tweak logic to work for Qt5 too
There's something very odd internally happening with
Qt5/antialiasing/clip paths! But setting the antialiasing to false,
setting a clip path, then setting to true causes the final set
to true to be ignored...
2025-08-27 16:24:48 +10:00
Nyall Dawson
82b4d4e92d Fix aliasing of clipped raster renders on qt 6
Match the rendering of raster layers with clipping paths to the
same appearance as Qt 5, where the clip path forces the raster
to be rendered with antialiasing in order to get nice appearance
along the clip path boundaries
2025-08-27 16:24:48 +10:00
Nyall Dawson
6f79c57418 Move all raster renderer antialiasing logic to one place 2025-08-27 16:24:48 +10:00
Nyall Dawson
8a87b04cb3 Add test masks 2025-08-27 13:03:41 +10:00
Nyall Dawson
55b8e9045b Add test masks, variant for label placement test on qt 6 2025-08-27 13:03:41 +10:00
Nyall Dawson
29ea5d6b2c Update test to work with Qt 6 null QVariant logic 2025-08-27 12:54:12 +10:00
Nyall Dawson
eb039e5b47 Fix edit widgets test on qt 6
Differences in null/invalid qvariant handling on qt6 meant that
we weren't setting the combobox index to the existing entry
with a null (but not invalid) qvariant user data
2025-08-27 12:54:12 +10:00
qgis-bot
1b0c079390 auto sipify 🍺 2025-08-26 06:47:08 +00:00
Mathieu Pellerin
643d49bbb0
[plots] Introduction of a plot data gatherer from vector layers (#62938) 2025-08-26 13:44:30 +07:00
Nyall Dawson
1481e27254 Adjust test results for Qt6 font metric calculations 2025-08-26 14:29:28 +10:00
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
Germán Carrillo
776496b609 Address review 2025-08-22 09:54:48 +02:00
Marco Hugentobler
b692799c21 Report invalid layers as a rendering error 2025-08-22 08:35:47 +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