507 Commits

Author SHA1 Message Date
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
Juergen E. Fischer
d5ab5ff7df Bump version to 3.11 2019-10-25 14:15:55 +02:00
Nyall Dawson
442282224a Avoid use of too new CMAKE VERSION_GREATER_EQUAL 2019-10-07 10:33:20 +10:00
Nyall Dawson
869ee9bc66 Silence some recent gcc warnings which we can't fix
Since the fixes for these are either outside our control (residing
in Qt system headers), or break compatiblity with older compiler
versions which we still support.
2019-09-24 03:44:01 +10:00
Peter Petrik
635c1b54d8 Allow to use WMS as static provider 2019-09-04 07:49:09 +02:00
Sandro Santilli
c4c22db2a0 [make check] Use xvfb with screen number 0
This fixes make check for me, and it is already what debian/rules
uses (and scripts/jenkins-run.sh)

Closes #31473
2019-08-31 01:20:40 +02:00
Sandro Santilli
7e3b539a6d Fix typo in xvfb package name comment 2019-08-31 01:20:40 +02:00
Peter Petrik
8f831bb37a qt 5.13.1 does not have QPrinter header 2019-08-20 13:40:26 +02:00
Juergen E. Fischer
650f79617c fix windows build (includes update to inja.hpp 57ac9b93725cb) 2019-08-07 18:03:56 +02:00
Matthias Kuhn
94b037cafb Add plugins and plugin installer to qgis_desktop 2019-08-04 10:39:01 +02:00
Matthias Kuhn
9be7784f1d Add a new qgis_desktop build target
this is meant for development, to quickly get a test build
including python bindings and the most important core providers
2019-08-02 12:57:56 +02:00
Juergen E. Fischer
32da35173a Bump version to 3.9 2019-06-21 14:33:28 +02:00
Jorge Gustavo Rocha
38c8e757aa References to issues.qgis.org updated 2019-06-12 00:10:43 +01:00
Juergen E. Fischer
870337871a move WITH_BINDINGS in front of WITH_SERVER_PLUGINS (fixes e839f277c5c1 and clean builds) 2019-04-05 09:05:30 +02:00
David Marteau
e839f277c5 Disable WITH_SERVER_PLUGINS when WITH_BINDINGS=FALSE 2019-04-03 14:48:24 +02:00
Juergen E. Fischer
c6382553cd don't relink object if just the shared objects/DLL is changed 2019-04-02 17:14:09 +02:00
Juergen E. Fischer
1a8cbd1906 Bump version to 3.7 2019-02-22 13:48:26 +01:00