Statistics
| Branch: | Tag: | Revision:

qgis / CMakeLists.txt @ master

History | View | Annotate | Download (48.1 KB)

# Date Author Comment
2c8e7846 2023-09-19 10:10 PM Matthias Kuhn

Use geos cmake configuration (#54659)

01b0eff8 2023-09-18 10:52 AM Matthias Kuhn

Merge branch 'master' into cmake-gdal

a42c02b4 2023-09-18 07:30 AM Matthias Kuhn

Use GDAL cmake config

and switch to target.
Perserve fallback GDAL discovery logic since GDALConfig is quite recent.

17301401 2023-09-18 06:12 AM Matthias Kuhn

[cmake] Use native find EXPAT logic

and switch to using target EXPAT::EXPAT

861b6355 2023-08-10 09:24 AM Paul Blottiere

Update CMakeLists.txt

Co-authored-by: Matthias Kuhn <>

3754e386 2023-08-09 06:29 AM Paul Blottiere

Fix build on Arch with recent version of protobuf

40ecc548 2023-08-07 12:06 AM Nyall Dawson

Add conditional support for linking draco library

Can be opted out by setting WITH_DRACO cmake option to false

a4f7d1bf 2023-07-27 12:37 AM Nyall Dawson

Set some cmake policies to avoid warnings on newer cmake

d1ec7cbf 2023-06-27 06:49 AM Nyall Dawson

WITH_QTGAMEPAD should default to false

f86e46ed 2023-06-27 06:49 AM Nyall Dawson

Add optional WITH_QTGAMEPAD cmake switch, and create 2d/3d gamepad
map controller classes which expose QGamepad functionality

Especially handy because the underlying QGamepad classes
are not accessible to Python

bbc4be0c 2023-06-23 02:42 PM Jürgen Fischer

Bump version to 3.33

20e2f672 2023-04-30 08:41 PM Martin Dobias

Also enable build with 3D by default

e0bbd798 2023-04-30 08:41 PM Martin Dobias

Enable build with PDAL by default

Point cloud support has been there in a couple of QGIS releases already
and it would make sense to have the PDAL support built by default.
Without PDAL, point cloud layer implementation is very limited,
not allowing indexing and display of regular files like LAS/LAZ,...

341284a7 2023-04-27 06:47 AM Nyall Dawson

Require Qt 6.4 or later for Qt6 builds

Given that these are experimental anyway, it makes little sense
to waste efforts supporting older Qt 6 releases...!

ed1378b5 2023-03-22 04:04 PM Alexander Bruy

do not require PDAL >= 2.5 for QGIS, make it requirement only for
processing provider

1cff7f53 2023-03-03 08:27 PM Jürgen Fischer

Bump version to 3.31

31d058d1 2023-01-26 10:14 AM Alessandro Pasotti

Merge pull request #51584 from geosolutions-it/remove_geonode_provider

Remove GeoNode Provider

09c8a682 2023-01-25 04:41 PM Giovanni Allegri

Bump number of SIP parts

Workaround to avoid the errors in `sip_corepart10.cpp` related to `QgsPointCloudAttributeStatistics`

0b9c4477 2023-01-25 12:47 PM Denis Rouzaud

link QSerialPort for Qt6 builds

769c68b5 2022-12-15 06:37 PM Nyall Dawson

[api][expressions] Allow additional map layer stores to be associated
with an expression context

This allows the various expression functions which can refer to
layers to also locate layers stored in these additional,
non-QgsProject::instance, store.

The immediate use case is paving the way for expressions to access...

6572c9bd 2022-12-13 05:59 PM Nyall Dawson

Add QGIS_PROTECT_QOBJECT_THREAD_ACCESS macro

Either shows a warning when a qobject function is accessed
from a thread which the object doesn't have affinity with,
OR causes a fatal error if the AGGRESSIVE_SAFE_MODE cmake flag
is set.

We should ensure this macro is present for all qobject methods...

4010706a 2022-12-08 01:53 AM bdm-oslandia

feat(doc): add section with build flags in INSTALL.md

ff9f2833 2022-11-30 10:13 AM Sandro Mani

Assorted fixes towards PyQt6 support

5fe715a6 2022-11-09 02:35 AM Mathieu Pellerin - nIRV

Enable WITH_QUICK on Qt6 builds and apply needed fixes

20d006dd 2022-11-03 06:02 PM Julien Cabieces

[Clazy] Fixes container-anti-pattern

e907edf6 2022-10-23 05:52 PM Matthias Kuhn

Merge pull request #50665 from m-kuhn/android_resources

5d0f37a6 2022-10-23 02:25 PM Matthias Kuhn

Merge pull request #50664 from m-kuhn/core_no_uitools

0e289466 2022-10-23 12:29 PM Matthias Kuhn

Remove outdated android specific patch

a0b21109 2022-10-23 11:46 AM Matthias Kuhn

Restrict UiTools to gui and app

4243de60 2022-10-21 02:14 PM Jürgen Fischer

Bump version to 3.29

0dc69f2b 2022-09-15 01:28 AM Julien Cabieces

[Clang-tidy] Run clang-tidy on modified code

b5e60783 2022-09-04 03:59 AM Jürgen Fischer

fix msvc build again (take II)

125294a3 2022-09-04 03:08 AM Jürgen Fischer

fix msvc build again

4bfef0c7 2022-08-29 08:44 AM Nyall Dawson

Bump minimum Qt version to 5.14

cb612aaf 2022-08-28 04:48 AM Matthias Kuhn

Qt Extras modules have been removed from Qt6

https://www.qt.io/blog/qt-extras-modules-in-qt-6

4b812199 2022-08-12 12:36 PM Nyall Dawson

Bump minimum Qt to 5.13

c5a65094 2022-08-11 12:31 AM Nyall Dawson

Add 'WITH_ASAN' cmake option to enable AddressSanitizer compile options

d5505e32 2022-07-13 12:24 AM Julien Cabieces

Add missing Q_OBJECT macros and enable clazy check missing-qobject-macro

6e374855 2022-07-11 03:59 AM Matthias Kuhn

Rename WITH_QT6 to BUILD_WITH_QT6

db4cf8a9 2022-07-08 07:44 AM Loïc Bartoletti

Use alternate linker (mold, gold, etc)

e10d2d49 2022-06-20 05:01 AM Nyall Dawson

Fix build

cd7fbbbb 2022-06-17 02:08 PM Jürgen Fischer

Bump version to 3.27

026dbb3b 2022-06-06 10:00 PM Sandro Santilli

Define SOURCETREE fixture for checking if source tree is changed

Use SKIP_RETURN_CODE=2 on them, so it is still possible to run
without a working git

bcad17f7 2022-05-10 12:27 AM Julien Cabieces

remove non-pod-global-static

8ac62c71 2022-05-10 12:27 AM Julien Cabieces

run clazy with appropriate options

e30c4a96 2022-05-10 12:27 AM Julien Cabieces

remove clazy check lambda-in-connect

Too many false positives because QGIS use it combined with
QEventLoop::exec()/quit() and so there is technically speaking no issues

890f827b 2022-05-10 12:27 AM Julien Cabieces

remove missing-qobject-macro

It increases time compilation and we don't need it for every class

621340f7 2022-05-10 12:27 AM Julien Cabieces

remove qcolor-from-literal that crashes clazy

9be17800 2022-05-06 10:12 AM Loïc Bartoletti

Switch to internal lazperf by default

8992b860 2022-05-06 10:12 AM Loïc Bartoletti

CMAKE: Add an option to explicitly use internal lazperf

9a6aad8d 2022-04-07 11:22 AM Nyall Dawson

Stupid solution to sip build errors

16392625 2022-04-02 01:58 AM Nyall Dawson

Disable misleading-indentation warning on pedantic builds

This is slow (especially for the large sip files), and isn't needed
because of the auto formatting scripts we use

7faea46b 2022-03-31 02:44 PM NEDJIMAbelgacem

- Add tests for COPC
- Address some of Martin's reviews

cc9f5fbf 2022-03-31 02:44 PM NEDJIMAbelgacem

inital implementation of local COPC reading

74db1660 2022-03-25 01:08 AM Nyall Dawson

Use map instead of hash

8734b09d 2022-02-18 01:08 PM Jürgen Fischer

Bump version to 3.25

b172553d 2022-02-08 01:38 AM Nyall Dawson

Cleanup PDAL/EPT handling in cmake

e85df91f 2022-02-08 01:38 AM Nyall Dawson

Rename HAVE_PDAL as HAVE_PDAL_QGIS

The grass public headers define HAVE_PDAL if grass is built with
PDAL support, so this macro gets redefined on GRASS enabled builds.
Switch to using HAVE_PDAL_QGIS to avoid the conflict.

e6072c93 2022-02-01 12:54 AM Sandro Mani

Add support for grass8

ecdc1905 2022-01-10 09:43 AM Alessandro Pasotti

Merge pull request #46643 from pathmapper/lp_cmake

[server] Integrate landingpage build process with cmake

488a2648 2022-01-06 08:58 AM pathmapper

Make option description shorter

Co-authored-by: Matthias Kuhn <>

3eb88845 2022-01-06 08:28 AM pathmapper

Add dedicated cmake boolean option for server landingpage webapp

51a12878 2022-01-05 10:20 PM tomasMizera

mark crssync build option advanced

df41a587 2021-12-23 12:30 PM tomasMizera

crssync cmake file refactor

ffb12c76 2021-12-21 04:17 AM Nyall Dawson

Allow crash handler to be disabled through cmake

It can cause issues with some environments, e.g. when building
through asan

730cd7e2 2021-11-09 04:58 AM Nyall Dawson

[feature] Add "stretch" setting for labels and text formats

Allows text to be horizontally stretched or condensed by a %
factor. Handy for tweaking the widths of fonts to fit a bit
of extra text into labels (when used sparingly, that is...
you can certainly abuse font stretching with some horrendous...

dae69acc 2021-11-08 04:36 AM Nyall Dawson

[feature] Support Small Caps style in labels/text renderer

Adds two new capitalization styles for labels and text symbols:

- Small Caps: Renders lowercase characters as small caps
- All Small Caps: Renders all characters as small caps (regardless
of their original case)...

1495cd57 2021-11-04 09:28 PM Nyall Dawson

Add cmake switch to indicate that a Qt5 build is using KDE's Qt 5.15 fork

There's no easy way to detect this automatically, so a manual switch is required

b89cda5d 2021-10-22 02:15 PM Jürgen Fischer

Bump version to 3.23

c5bb41dc 2021-09-30 12:13 PM Sandro Mani

PyQt5 cmake improvements

7d1213af 2021-07-30 10:16 AM Julien Cabieces

change SIP_CONCAT_PARTS to fix compilation

b3c5cf8d 2021-07-22 02:33 AM Even Rouault

Change prototypes of extern functions of C++ plugins...

... to fix the -Wreturn-type-c-linkage warnings.

The methods that returned a QString now return a const QString*.

This is a breakage for out-of-tree native plugins.

71a6eb72 2021-07-20 09:25 AM Nyall Dawson

Remove use of deprecated QtCore_VERSION_STRING for qt6 builds

4b52b7be 2021-07-07 08:46 AM Mathieu Pellerin - nIRV

Move QgsExifTools utility class to core

23e23231 2021-06-25 06:35 PM Matthias Kuhn

Merge pull request #43913 from m-kuhn/minflex26

Minimum flex version 2.6 and a bit of cleanup

d326d386 2021-06-25 04:17 PM Vincent Cloarec

[mesh] mesh frame editing part-1 (qgis_core) (#43828)

[feature] qgis_core changes to allow mesh layer editing (part-1 or QEP#228)

a20c909c 2021-06-25 12:16 AM Matthias Kuhn

Minimum flex version 2.6 and a bit of cleanup

Fixes #43903
Fixes #43795

8a6ed7d8 2021-06-24 10:37 PM Even Rouault

Address -Woverloaded-virtual clang virtual and enable the warning

019976e5 2021-06-23 12:52 PM Denis Rouzaud

enable static build of all auth methods

5e62599c 2021-06-21 05:09 PM Denis Rouzaud

[cmake] drop FORCE_STATIC_PROVIDERS in favor of FORCE_STATIC_LIBS (#43814)

one cannot be used without the other since there is a cycle dependency between qgis_core and proiver_postgres/wms (cycle dep is only possible if the 2 libs are static

ad618e77 2021-06-19 11:27 PM Denis Rouzaud

rename auth methods and providers targets (#43768)

  • rename auth methods targets
  • rename provider targets
  • follow up
  • fix dll/so lookup
  • follow up
  • more
  • Update qgsauthmethodregistry.cpp
  • Update qgsproviderregistry.cpp
  • follow up
  • fix missing method
ff3be3df 2021-06-18 10:20 PM Matthias Kuhn

Remove QTMOBILITY

It's days are gone

564c892c 2021-06-18 02:12 PM Jürgen Fischer

Bump version to 3.21

018efaa3 2021-06-01 08:56 AM Mathieu Pellerin - nIRV

Remove obsolete WITH_GEOREFERENCER

0008158a 2021-06-01 06:39 AM Mathieu Pellerin - nIRV

Allow GSL-less qgis analysis library

ac6732db 2021-05-20 06:17 PM Denis Rouzaud

add WITH_BINDINGS definition only in app (#43298)

this will avoid a complete rebuild when switching on/off the option

12a0e414 2021-05-19 10:55 AM Mathieu Pellerin - nIRV

Nyall and Denis know better, add the flag :)

4e4f7cf5 2021-05-19 02:16 AM Nyall Dawson

Fix fragile sip build

c40b4643 2021-05-14 03:38 PM Peter Petrik

slim qgsquick to micro-core (#43204)

Keep only files that are used in both Input and QField in QgsQuick as basis of the QML library that can grow further.

Co-authored-by: Denis Rouzaud <>

1d88f38b 2021-05-14 10:42 AM Denis Rouzaud

python development is not always required (#43212)

  • python dev not always required
  • simpler approach
da08c8a4 2021-05-13 07:32 AM Denis Rouzaud

[cmake] generalize Python output directory in UseTest macro (#43191)

  • [cmake] generalize Python output directory in UseTest macro

this is helpful in case we set up another python output directory (eg PySide2)

  • define python output directories to the parent scope...
41ffffed 2021-05-11 08:36 AM Matthias Kuhn

Optimize

ef9dd06d 2021-05-07 08:21 AM Nyall Dawson

Add cmake flag to optionally disable spatialite support

If turned off, disables the spatialite, wfs, virtual providers and the
offline editing plugin as a result.

Intended for development purposes only, as the spatialite linkage can
be problematic when building against non-system proj/gdal versions

9a3ad855 2021-05-05 09:03 AM Vincent Cloarec

interpolated line symbol layer

e3f16292 2021-04-22 12:06 AM Jürgen Fischer

fix msvc build

0eee27f1 2021-04-19 03:41 PM Denis Rouzaud

macos now always has loader path (#42859)

555f5169 2021-03-28 09:49 PM Denis Rouzaud

use cmake native FindPython (#42497)

7a56c36d 2021-03-25 11:06 AM Denis Rouzaud

[qt6] CMake build adjustments for qt6

d525439c 2021-03-22 05:34 AM Nyall Dawson

Cleanups

ac1c6981 2021-03-22 05:34 AM Nyall Dawson

No more hacks