92666 Commits

Author SHA1 Message Date
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
Mathieu Pellerin
c89b4961c8 Implement {bar,line}chart writeXml and readXml function, add a plot type() virtual function 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
b0a73b65e3 Rework categories handling, move it into the QgsPlotData to increase logic robustness and simplicity 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
a0c45d9380 [plots] Add QgsBarChart and QgsLineChart classes, implement category typed axis rendering 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
a2caa8ea75 [plots] Add plot data classes 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
a453dd65b6 [plots] Break Qgs2DPlot into a axis-less Qgs2DPlot and a X/Y axes Qgs2DXyPlot 2025-08-22 10:41:20 +10:00
Nyall Dawson
972f31b6e7 Workaround bug in Qt6 ODBC driver
Use float instead of real for column. Qt6 is incorrectly reading
'real' column values as string values only, leading to truncation
of decimals.

(It seems that QSqlDatabase may be ignoring the numerical
precision policy set on the database for the ODBC driver, at
least for 'real' column types)
2025-08-22 08:47:43 +10:00
Nyall Dawson
d416dc0179 Don't try to render zero-length segments for arrow symbol layer
This triggers a divide by zero, leading to an assert on Qt 6 builds.
On Qt5 builds we try to render a polygon containing all nan values,
which results in no rendered segment anyway, so there's no visual
difference here.
2025-08-22 08:46:04 +10:00
Matthias Kuhn
d916c37ea5
Merge pull request #62864 from m-kuhn/mnteverest
Make QGIS 3D Mount Everest compatible
2025-08-21 10:32:03 +02:00
github-actions[bot]
b78547d360 auto-fix pre-commit issues 2025-08-21 08:31:52 +00:00
Matthias Kuhn
21442edd91
Merge pull request #62858 from m-kuhn/3dconcurrency
Fix 3D terrain texture tiles stop loading
2025-08-21 10:30:57 +02:00
Matthias Kuhn
ddbfaef7d2
Merge pull request #62878 from qgis/m-kuhn-patch-2
bump vcpkg
2025-08-21 06:57:59 +02:00
Nyall Dawson
87a0b03636 Fix Qt6 build 2025-08-21 13:35:32 +10:00
Nyall Dawson
14184641b8 Skip test on GDAL 3.9.1 based builds
Because of https://github.com/OSGeo/gdal/pull/10473
2025-08-21 13:35:32 +10:00
Nyall Dawson
5ec0efaf29 Cleanup use of deprecated (or not) QT3D_FUNCTOR methods 2025-08-21 13:35:32 +10:00
Nyall Dawson
740a639c2e Bump qt5 distro to 24.10 2025-08-21 13:35:32 +10:00
Malik Blesius
f6d57bc2cb Update style.qss 2025-08-21 10:07:38 +07:00
Matthias Kuhn
654cef5e27 Fix macos build failure 2025-08-20 17:14:34 +02:00
Juergen E. Fischer
37ac8d1c6c fix typo 2025-08-20 15:02:45 +02:00
Matthias Kuhn
5fd8d6d898 bump vcpkg
Python 3.12 and more
2025-08-20 07:21:08 +02:00
Nyall Dawson
58658c4bfc Remove incorrect reference image 2025-08-20 14:15:27 +10:00
Nyall Dawson
64efedea78 Use standard test font 2025-08-20 14:15:27 +10:00
Nyall Dawson
542fbd2186 Increase test tolerance for qt6 compatibility 2025-08-20 07:55:53 +10:00
Nyall Dawson
9823de1ba2 Fix oracle test on Qt 6 2025-08-20 07:55:44 +10:00
Nyall Dawson
d940815831 Don't rely on qt version switch for extra compilation options 2025-08-20 07:55:36 +10:00
Nyall Dawson
6f05b701dd Fix more automoc warnings 2025-08-20 07:55:13 +10:00
Nyall Dawson
64e8898758 Remove moc from non QObject class 2025-08-20 07:55:13 +10:00
Nyall Dawson
fa8cdcf526 Fix some header includes to use " not < 2025-08-20 07:55:13 +10:00
Nyall Dawson
cafaa071af [ci] Correctly set compiler in QGIS cmake only
So that other system components don't try to use clazy for building
2025-08-20 07:54:49 +10:00
mhugent
94e8cdd35b
Merge pull request #61772 from mhugent/geometry_checker_fix_save_errors_to_gpkg
Geometry checker error export: store value in string field. Fixes export to GPKG
2025-08-19 14:56:01 +02:00
Matthias Kuhn
96e154809b
Missing override 2025-08-18 21:04:51 +02:00
Matthias Kuhn
09c7d8a769
Initialize variable 2025-08-18 12:23:20 +02:00
Matthias Kuhn
3c3656ad84
Init variable 2025-08-18 12:01:02 +02:00
Matthias Kuhn
49efde8a53
Fixup 2025-08-17 10:18:17 +02:00
qgis-bot
8059f9b23d auto sipify 🍺 2025-08-16 18:29:14 +00:00
Nyall Dawson
a95d8cb02b Silence false positive clang-tidy warnings 2025-08-17 04:26:36 +10:00
Nyall Dawson
0b630faa9c Add properties to QgsElevationProfile 2025-08-17 04:26:36 +10:00
Nyall Dawson
a665d48588 Create elevation profile manager dialog 2025-08-17 04:26:36 +10:00
Nyall Dawson
d6d8e307c0 Implement elevation profile manager model 2025-08-17 04:26:36 +10:00
Nyall Dawson
fdcda15365 [api] Create elevation profile manager, attached to QgsProject
This mimics QgsLayoutManager, but for storage of elevation profiles
attached to a project
2025-08-17 04:26:36 +10:00
Nyall Dawson
4ec64ba4db Silence dllimport attribute ignored warnings
Silence noisy and harmless 'inline function declared as
dllimport: attribute ignored' warnings.

These can be safely ignored, but cause thousands of lines of
warnings during windows builds (eg mingw builds)

(Unfortunately a macro based approach CANNOT be used here -- that
breaks the mingw build, as it seems to have issues with nesting
_Pragma along with __declspec)
2025-08-17 04:26:19 +10:00
Andrea Giudiceandrea
e6a44f6876 [WFS] Only use NAMESPACE for WFS 1 and NAMESPACES for WFS 2.0 2025-08-16 17:34:56 +02:00
Matthias Kuhn
5a6066c8a4 Fix merge conflicts 2025-08-16 14:31:58 +02:00
qgis-bot
b24906550b auto sipify 🍺 2025-08-16 10:22:00 +00:00
Alexander Bruy
3a09cd10ca
Merge pull request #62794 from nyalldawson/elev_profile_scale
Show distance:elevation scale ratio in profile settings menu
2025-08-16 11:19:24 +01:00
Nyall Dawson
39070a433f [3d] Fix main annotation layer is not rendered on terrain 2025-08-16 10:28:56 +10:00
Nyall Dawson
9dff3a89de Ensure main annotation layer can be resolved from weak layer ref 2025-08-16 10:28:56 +10:00
Nyall Dawson
a6d9c60c88
Increase test tolerance 2025-08-16 07:22:05 +10:00
Nyall Dawson
c667615290 [mssql] Respect custom "timeout" parameter in data source URIs
When constructing a URI for a SQL server connection, you can
now set a custom timeout for the connection using:

  ds = QgsDataSourceUri()
  # set host, etc
  ...
  # set connection timeout to 20 seconds
  ds.setParam('timeout', '20')

  vl = QgsVectorLayer(ds.uri(), 'my layer', 'mssql')
2025-08-16 05:19:02 +10:00
Nyall Dawson
da4260766f [mssql] Always use connection method with full QgsDataSourceUri
Remove the older method which took explicit host/database/service/...
arguments, and ensure we always use the method which takes a full
QgsDataSourceUri argument. This ensures that the db connection
always has access to ALL the properties of the original data source
uri, including any additional parameters set on it.
2025-08-16 05:19:02 +10:00