723 Commits

Author SHA1 Message Date
Nyall Dawson
f5a4880e70 Switch from silently building broken Entwine point cloud support
when dependancies are missing (libzstd, lazperf) to an explicit
WITH_EPT optional cmake switch which requires those dependancies

This makes it easier people to determine whether they have the
complete set of necessary dependancies to build Entwine point
cloud support, as cmake will show an error if they enable WITH_EPT
but don't have them...
2020-11-07 07:57:00 +10:00
Nyall Dawson
f98bdc04a6 Make PDAL version information available for macros 2020-11-07 03:22:22 +10:00
Peter Petrik
3dec432cb6 [pointclouds] add basic structure for PDAL layer 2020-11-04 21:56:09 +01:00
Peter Petrik
d0721c5a7e fix builds 2020-10-27 05:29:14 +10:00
Peter Petrik
aa814bce49 fix loading 2020-10-27 05:29:14 +10:00
Peter Petrik
bb5b625bc4 able to build without zstd and lazperf 2020-10-27 05:29:14 +10:00
Peter Petrik
8a42c5759f port the basic renderer from Martin's prototype 2020-10-27 05:29:14 +10:00
Juergen E. Fischer
72574567e3 Bump version to 3.17 2020-10-23 14:12:56 +02:00
Even Rouault
5e4707fcbf Enable -DQT_USE_QSTRINGBUILDER and fix related build errors
Background:
https://www.qt.io/blog/2011/06/13/string-concatenation-with-qstringbuilder

When enabling -DQT_USE_QSTRINGBUILDER, QString() concatenation with operator +
are done in a more efficient way, especially with repeated + operators.

Qt and creator themselves are built with that enabled.
2020-10-12 06:23:12 +10:00
vcloarec
89e4d4925a enable QgsMeshTriangulation with SIP and change SIP_CONCAT_PARTS 2020-09-10 20:16:44 -04:00
Nyall Dawson
b44df6d016 Fix sip silliness
SIP builds are very fragile right now -- adding new classes can
cause the build to fail for no good reason. This seems to fix it.
2020-09-09 13:21:44 +10:00
Juergen E. Fischer
e2db34f6ec Fix qt plugins directory setting again (followup 736e3947d958fed) 2020-08-24 22:30:14 +02:00
Juergen E. Fischer
5d897d8d88 Fix qt plugins directory setting (followup 736e3947d958fed) 2020-08-21 11:08:29 +02:00
Peter Petrik
736e3947d9
allow custom install location for QT plugins (#38389) 2020-08-20 15:35:41 +02:00
Matthias Kuhn
e0fa368357 Bump minimum cmake version to 3.10
Fixes #38327
2020-08-17 20:38:10 +02:00
Vincent Cloarec
de68f83cc3
Virtual dataset groups for mesh layer (#37605)
[FEATURE] Introduces mesh virtual datasets

With the mesh calculator the user can choose to create those "virtual" dataset groups that will be added to the layer. Then, for these dataset groups, values are not stored in memory but each dataset is calculated when needed whit the formula entered in the mesh calculator.

Those virtual dataset groups are saved with the project.

If needed, the user can remove them or can persist them on files to make them persistent.

Co-authored-by: Étienne Trimaille <gustrimaille@yahoo.fr>
2020-07-23 07:39:28 +02:00
Juergen E. Fischer
b726848e38 fix 3d build on debian unstable 2020-06-26 09:11:21 +02:00
Denis Rouzaud
8aecfdd93a [cmake] find Qt5 the right way 2020-06-26 07:24:50 +10:00
Juergen E. Fischer
0ac73f4fe4 Bump version to 3.15 2020-06-19 14:17:00 +02:00
Denis Rouzaud
97862bbc15
make QgsLocalizedPathRegistry thread safe (#36865) 2020-06-05 17:05:41 +02:00
Nyall Dawson
4057790cc8 Hookup georeferencer from app 2020-05-25 11:39:20 +10:00
Nyall Dawson
80a29fd090 Move georeferencer sources from plugins to app 2020-05-25 11:39:20 +10:00
José de Paula Rodrigues Neto Assis
c91e0e8450 Drop Globe plugin
Dropping Globe plugin from the QGIS sources. It depends on osgearth no
newer than version 2.8, released on 2016-09-05, and which is impossible
to build against modern (Qt 5.13+) versions of Qt. With this, the
optional QGIS dependency on OpenSceneGraph and osgearth is also removed.
2020-05-25 08:29:03 +10:00
Tom Palan
c41a15142f Prevent building of qgis_process when WITH_ANALYSIS=FALSE 2020-05-10 13:03:42 +10:00
Nyall Dawson
85d543a739 Rename scripts to swap "-" for "_" for consistency
We had a confusing and unpredictable mix of script names with
- vs _, e.g. scripts/prepare-commit.sh vs scripts/sipify_all.sh

This unifies with the preferred _ convention for script file names
2020-04-28 02:22:33 +10:00
Long Huan
70eccf30ac SET CMAKE_AUTORCC ON 2020-04-24 14:46:06 +10:00
Nyall Dawson
f9a58d21cd Rename 'qgis_transform' to 'qgis_process' 2020-04-15 18:20:27 +10:00
Nyall Dawson
019035b1c1 [FEATURE][processing] New standalone console tool for running processing algorithms
This new qgis_transform tool allows users to run processing algorithms
(both built-in, and those provided by plugins) directly from the console.

Running:

- "qgis_transform list" will output a complete list of all available
algorithms, grouped by provider.
- "qgis_transform plugins" lists available and activated plugins which
advertise the hasProcessingProvider metadata option (only these plugins
are loaded by the tool)
- "qgis_transform help algid" outputs the help and input descriptions
for the specified algorithm, e.g. "qgis_transform help native:centroids"

"qgis_transform run": runs an algorithm. Parameters are specified by a
"--param=value" syntax. E.g.

  qgis_transform run native:centroids --INPUT="my_shapefile.shp" --OUTPUT="centroids.kml"

or

  qgis_transform run native:buffer --INPUT=/home/me/my.shp --DISTANCE=20 --OUTPUT=/home/me/buffered.shp

While running an algorithm a text-based feedback bar is shown, and the
operation can be cancelled via CTRL+C

Sponsored by the Swedish User Group
2020-04-15 18:20:27 +10:00
Long Huan
314353c407 fix msvc utf-8 bug 2020-04-14 17:54:04 +10:00
Peter Petrik
62bcc92339
MacOS CI (#35407)
[infrastructure] [macos] use QGIS-Mac-Packager dependencies to setup MacOS CI build with GitHub workflows. Use CMake's define QGIS_MAC_DEPS_DIR to define folder to dependencies
2020-04-05 10:51:00 +02:00
Martin Dobias
2cfd699295 Make sure that "protoc" tool is available
It may be in a separate package, e.g. on Ubuntu there is protobuf-compiler
2020-03-31 09:11:44 +02:00
Martin Dobias
8105ad1fe5 Initial work on vector tile layer support 2020-03-25 13:27:11 +01:00
Juergen E. Fischer
d2446e0536 Bump version to 3.13 2020-02-21 13:38:01 +01:00
Even Rouault
1f10509b86 Enable -Wnon-virtual-dtor in pedantic mode, and remove useless virtual qualifiers in 2 final classes 2020-02-17 08:07:48 +10:00
Nyall Dawson
44b2518d9b QT_PLUGINS_DIR is still required 2020-02-08 15:17:47 +10:00
Nyall Dawson
4a8259b7b8 Deprecation warnings for everyone!
Let's all join the fun and share workload
2020-02-08 15:17:47 +10:00
Nyall Dawson
06d4dee523 Prevent builds which utilise API deprecated in <= Qt 5.8
Ideally this would be at least 5.9 (the minimum Qt version supported),
but unfortunately the Qwt libraries utilise QString::null in public
headers which was deprecated in Qt 5.9.

I've got a feeling Qwt is going to be a pain point once again when
Qt6 rolls around...
2020-02-08 15:17:47 +10:00
Nyall Dawson
aad4e84438 Remove old Qt4 compatibility module 2020-02-08 15:17:47 +10:00
Sandro Mani
3b9ccf375a Make it configurable whether to install the sip source files 2020-01-17 11:38:16 +01:00
Juergen E. Fischer
d33a5b56a9 azure-pipelines support
(blood, sweat and tears w/squ-ashed away)
2019-11-30 20:34:16 +01:00
Nyall Dawson
fe9e6c6934 Fix typos 2019-11-20 10:08:13 +10:00
Nyall Dawson
4b8f37da39 Enable some more safe clazy checks 2019-11-20 10:08:13 +10:00
Matthias Kuhn
9346dba3f7 Fix Qt::UniqueConnection with lambda 2019-11-05 10:53:45 +01:00
Matthias Kuhn
7951feba01
Merge pull request #32607 from m-kuhn/clazy
Enable clazy on travis
2019-11-05 08:01:29 +01:00
Matthias Kuhn
a6386038ff Fix all 3 arg lambda problems 2019-11-04 21:52:39 +01:00
Matthias Kuhn
cffea8b28b Enable more clazy checks and disable warnings as errors (boom) 2019-11-04 18:35:26 +01:00
Matthias Kuhn
277a848300 Widespread use of AUTOMOC
For many people it's unclear where to put headers in CMakeFiles.txt
If they should be duplicated in both moc and non moc header sections.
And if private headers should be included as well.
The good news is that CMake is able to figure out itself which headers
need moc'ing by some sourcery called automoc. Let's use it.
2019-11-03 18:02:16 +01:00
Juergen E. Fischer
b81d306047 spelling fixes (closes #32408) 2019-10-26 10:50:30 +10:00
Matthias Kuhn
e6a06ec3b2 Also copy svg, icons and doc to build dir, into /data/ subdir 2019-10-26 08:28:51 +10:00
Matthias Kuhn
651b7b18d6 Copy resources to build dir
Fix #31796
2019-10-26 08:28:51 +10:00