577 Commits

Author SHA1 Message Date
Jean Felder
820aa33fe7 sfcgal: Downgrade min version to SFCGAL 2.0 2025-09-05 09:30:02 +10:00
Nathan Woodrow
0a70019900
Windows - Add product, company name, and version info, into exe and dlls for better windows file info display (#62516)
Add product, company name, and version info into  for display in Windows file Details tab.

* use CMAKE_[..]_COMPILER_LAUNCHER (fix ccache being called for rc files)
* Move windows resources into platform windows folder
* Move windows ico files from app into platform/windows as main location for platform resources

---------

Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2025-08-04 09:21:23 +10:00
Juergen E. Fischer
67605c47fe replace CopyIfChanged.cmake with cmake -E copy_if_different 2025-07-23 07:11:51 +10:00
Juergen E. Fischer
33fc476d89 * replace external qwtpolar with qwt 6.3
* require qwt >=6.2 (and fallback to internal 6.3 if system's qwt doesn't suffice)
* debian doesn't have qwt for Qt6 and won't have it for trixie
2025-07-23 07:11:51 +10:00
Matthias Kuhn
244746fde0 Fixed target name and configurable executable name 2025-06-25 09:52:05 +02:00
Matthias Kuhn
c8751606f5 Support for arrow-adbc, duckdb and oracle 2025-06-05 13:51:13 +02:00
Matthias Kuhn
b9ac09312f Fix relative python path 2025-06-05 13:51:13 +02:00
Matthias Kuhn
2f70b2cbf4 Fix gdal algorithms 2025-06-05 13:51:13 +02:00
Matthias Kuhn
0e8e5485e9 Fix auth on win/vcpkg
Co-authored-by: Nicolas Godet <39594821+nicogodet@users.noreply.github.com>
2025-06-05 13:51:13 +02:00
Matthias Kuhn
1f331f9a6a Fix processing gdal algs 2025-06-05 13:51:12 +02:00
Matthias Kuhn
ca57c97cac Fix qca plugins 2025-06-05 13:51:12 +02:00
Matthias Kuhn
c0c6dc2b05 Switch to a python based macdeployqt' 2025-06-05 13:51:12 +02:00
Matthias Kuhn
3a7cda9a64 Fix bundle paths 2025-06-05 13:51:12 +02:00
Matthias Kuhn
3c2eddab2d Externalize dmg building 2025-06-05 13:51:12 +02:00
Matthias Kuhn
6fe4f5b7fc Fix packaging install prefix 2025-06-05 13:51:12 +02:00
Matthias Kuhn
1a259c0a38 Fix CPACK_PACKAGING_INSTALL_PREFIX for macos 2025-06-05 13:51:12 +02:00
Matthias Kuhn
9dcecb5442 New app layout 2025-06-05 13:51:12 +02:00
Matthias Kuhn
27eef82fc3 Remove QGIS_MACAPP_FRAMEWORK 2025-06-05 13:51:12 +02:00
Matthias Kuhn
ddcb038205 Reduce min cmake version to 3.22 2025-05-31 16:12:27 +02:00
Juergen E. Fischer
1deb1daf03 fix reporting of postgres version 2025-02-20 12:04:14 +01:00
Alessandro Pasotti
5745bd634b Update FindProj.cmake 2025-02-04 08:47:58 +10:00
Julien Cabieces
176890fcf5 fix(SipDeprecated): Don't use deprecated annotation with message
It crashes in 6.9.1
2025-01-31 08:39:37 +10:00
Nyall Dawson
af584b34ca Remove duplicate proj version checks, support for very old proj versions 2025-01-31 06:55:32 +10:00
Matthias Kuhn
072aca8f1d
No reason to handle undefined lookup 2024-12-31 12:18:16 +01:00
Matthias Kuhn
e22281d4db
Fix building on apple 2024-12-31 12:16:50 +01:00
Matthias Kuhn
c45b1f5c05 [cmake] Cleanup python libraries and includes 2024-12-31 10:45:27 +01:00
Julien Cabieces
51dc2ec2ac api(Deprecated): Generate always /Deprecated/ annotation with text
Use cmake to remove text when SIP version is less than 6.9.0
2024-12-17 09:06:44 +01:00
Matthias Kuhn
d255d21eff Use o2 library from https://github.com/qgis/o2/ 2024-12-10 11:48:09 +01:00
hxbb00
6f7afaf763
Fix: ALIAS not globally visible targets with old cmake (#59752)
* Fix: ALIAS not globally visible targets with old cmake

* Compatible with cmake3.18 version
2024-12-09 20:40:30 +01:00
Denis Rouzaud
0f032e5f2d run pre-commit on all files 2024-11-29 15:38:02 +01:00
Julien Cabieces
d4b8178d63 fix(Vcpkg): Don't install python3 if we build without bindings 2024-11-21 08:18:40 +10:00
مهدي شينون (Mehdi Chinoune)
260e565d13
Fix building with Qt6 on MinGW-w64 2024-11-03 21:48:08 +01:00
Matthias Kuhn
c08d697f40
Fix nuget binary caching for windows 2024-11-03 12:05:53 +01:00
Matthias Kuhn
d277e8420f
Merge branch 'master' into macvcpkg 2024-10-29 21:25:38 +01:00
Nyall Dawson
f8b91235dd [cmake] Create one command for many resources in ADD_QGIS_RESOURCES
Instead of creating a single command for EVERY resource, just
build up a single command for ALL the resources.

This avoids thousands of lines of output when compiling, where
we get one line per resource file. Eg:

[890/11818 452.2/sec] Generating ../../output/data/svg/sport/sport_snooker.svg
[891/11818 451.8/sec] Generating ../../output/data/svg/sport/sport_soccer.svg

Since we're installing thousands and thousands of resources
(eg the svg symbols, cpt color ramp data, etc), this is all
just noise. And it's especially annoying on github runs where the
sheer length of the build log drags the whole page to a crawl!

This change reduces the total steps from ~11800 (as above), to
~5900
2024-10-28 03:42:38 +10:00
Nicolas Godet
db4e98f2d1
Fix FindSIP.cmake and make it more verbose 2024-10-25 18:24:22 +02:00
Matthias Kuhn
ed08e3983b binary caching for non windows 2024-10-23 12:16:22 +02:00
Matthias Kuhn
11c70a7e60 Build with vcpkg deps 2024-10-07 17:08:17 +02:00
Simon Lopez
c06c7c938e Use CMake's SQLite targets
This uses the same targets and variables introduced in
the FindSQLite3 module in CMake starting with version 3.14.

The other CMakeFiles.txt are modified accordingly.
2024-09-13 20:59:46 +02:00
Matthias Kuhn
52f98f8c83
Merge pull request #57834 from m-kuhn/no_pyuic
[plugins] Remove dependency on pyuic
2024-06-30 08:44:08 +02:00
Matthias Kuhn
c268fb1403 Externalize nlohmann 2024-06-29 13:59:52 +02:00
Nyall Dawson
d64fbe2ade Revert "Use a centralized directory for files created by ctest"
This reverts commit 2e85f6fa29da4e7f94a95656b470fa28b760dcab.
2024-06-26 12:34:46 +10:00
Matthias Kuhn
fd663cc021 [plugins] Remove dependency on pyuic
Eases plugin development and deployment
2024-06-22 14:34:06 +02:00
Sandro Santilli
2e85f6fa29 Use a centralized directory for files created by ctest
Defines a QGIS_TEST_TMP_DIR variable in top-level CMakeLists.txt
and then defines QGIS_CUSTOM_CONFIG_PATH and TMPDIR to be under
that directory for individual tests.

Closes GH-50587
Closes GH-48884
2024-05-29 14:19:00 +02:00
Matthias Kuhn
1f00b40630
Merge pull request #57218 from troopa81/fix_sip_mod_dir
[Qt6][Sip] Correctly retrieve PyQt module directory
2024-04-25 16:10:03 +02:00
Julien Cabieces
32cd01431b Correctly retrieve PyQt5 module directory 2024-04-24 09:16:28 +02:00
Julien Cabieces
fa25acc782 [Qt6][Sip] Correctly retrieve PyQt module directory 2024-04-22 15:27:10 +02:00
Nyall Dawson
6785fe4554 [cmake] Use execute_process instead of deprecated EXEC_COMMAND
See CMP0153
2024-04-21 12:52:02 +10:00
Nyall Dawson
670ab67cc3 Add basic find lcms2 module 2024-02-12 12:48:27 +10:00
Matthias Kuhn
b9e859f0ed Find QtKeychain by its cmake target 2024-02-11 06:28:51 +10:00