428 Commits

Author SHA1 Message Date
Alessandro Pasotti
51d1bb36b8 OpenCL POC 1 2018-08-08 09:27:07 +02:00
Alessandro Pasotti
82b60df671 [opencl] Simplify OpenCL configuration in CMake
and add a message without failing if not found
2018-08-08 09:25:34 +02:00
Alessandro Pasotti
ed7e831ddc [opencl] Error message when OpenCL could not be found 2018-08-08 09:22:28 +02:00
Alessandro Pasotti
05be622c30 OpenCL POC 1 2018-08-08 09:18:32 +02:00
Matthias Kuhn
4809001d59 Enable -Wimplicit-fallthrough 2018-08-06 10:22:12 +02:00
Martin Dobias
2f6b569c31 Animate in cooperation with QgsCameraController
This is cleaner than just updating QCamera's transform.
Now we interpolate values ourselves, without Qt3D Animation library.
2018-07-08 17:22:57 +02:00
Martin Dobias
ce933380c0 Initial work on animation support
- new class to store animation configuration
- new class for animation configuration GUI
- animation implementation using Qt3D Animation framework
2018-07-08 17:22:57 +02:00
Juergen E. Fischer
212cffcab1 Port gps support to QSerialPort (byebye QExtSerialPort) 2018-06-28 17:31:01 +02:00
Juergen E. Fischer
1503459f6a Bump version to 3.3 2018-06-22 14:15:23 +02:00
Aleix Pol
db398ab1b5 Install appdata information for QGIS 2018-06-21 03:55:28 +02:00
Juergen E. Fischer
4790747aea Tune osgeo4w scripts (followup cab6a4b6) 2018-06-20 10:01:34 +02:00
Nyall Dawson
a6d78bc294 Minimum qt version is 5.4 2018-06-14 09:32:18 +10:00
Denis Rouzaud
088e94f909 [cmake] fix deprecated OLD policy for CMP0053
https://cmake.org/cmake/help/v3.1/policy/CMP0053.html
2018-06-08 08:06:26 +10:00
Denis Rouzaud
42c0b39812
[cmake] fix deprecated OLD policy CMP0048 (#7193) 2018-06-06 17:33:38 -08:00
Peter Petrik
b1bf9b2809 [FEATURE] Introduction of QGIS Quick library
This pull request is a subset of #6490

This adds a new library for creation of applications based on Qt Quick
framework.
It contains reusable QML / Qt Quick components based on QGIS core
library.
The initial work introduces MapCanvas

To enable compilation of the library, use WITH_QUICK=TRUE

Further documentation of the library is located in doc/qgsquick.dox

For background information see the associated QEP:
qgis/QGIS-Enhancement-Proposals#109

The initial implementation is largely based on the work of Matthias Kuhn
and Marco Bernasocchi on QField probject - kudos to them for the great
job!
2018-04-26 13:33:48 +02:00
Peter Petrik
50422a1165 [FEATURE] QgsMeshLayer part 1: Reading raw mesh
Introducting MDAL, QgsMeshLayer, mesh data providers (mesh_memory, mdal)
to read and visualize raw meshes: vertices and faces. Support dragging
2dm files from browser on canvas to visualize 2dm meshes.
Support for QgsMeshLayer in Python API.
2018-04-19 10:50:33 +02:00
lbartoletti
a213fad532 Fix travis with ccache (#6745) 2018-04-04 07:17:57 -04:00
Hugo Mercier
4c4e8ac18a
Merge pull request #6085 from lbartoletti/ccache
Use ccache if available
2018-03-22 08:32:29 +00:00
Juergen E. Fischer
70c68df72a Bump version to 3.1 2018-02-23 13:10:59 +01:00
Nyall Dawson
3e1b99be69 Remove a bunch of Qt4 compatibility code 2018-02-06 22:39:42 +11:00
Rashad Kanavath
f6a2c0a955 enable --no-undefined only for linux 2018-01-30 12:41:22 +01:00
Denis Rouzaud
204eaf88ea move QExtSerialPort to external libs directory 2018-01-22 06:58:26 -09:00
Denis Rouzaud
1d4e6a820a [sipify] use configuration file for SIP sources (*.sip.in)
to allow preprocessing the files to handle version specific features such as template based classes documentation in 4.19.7+
2018-01-17 10:16:37 -04:00
Loïc Bartoletti
8828f9a700 Use ccache if available 2018-01-17 04:20:47 +01:00
Denis Rouzaud
880d853e9f
detect SIP version to add DefaultDocstringSignature directive (#6030)
* detect SIP version to add DefaultDocstringSignature directive

SIP doesn't handle any kind of preprocessing, so there's no better solution than configuring the SIP files from CMake.
SIP 4.19.7+ supports %DefaultDocstringSignature to prepend auto-generated Python signature to existing Docstrings
2018-01-10 10:32:21 -04:00
Nathan Woodrow
a934060d4c Fix Windows build warnings 2018-01-09 13:45:32 +10:00
Matthias Kuhn
ab05bfb1bb Move QGISDEBUG definition to header
Because having it as a compiler flag means that when compiling a dependant application we need to have extra knowledge of this setting at compile time of the dependant application.

If this is not guaranteed (and the dependant application is compiled without QGISDEBUG while libqgis_core.so is compiled with QGISDEBUG) will result in different class definitions being found in header and library. For example for the optional QgsCoordinateTransform::mHasContext member. This in turn leads to crashes with funky traces and no chance to find out what's going on.
2018-01-04 18:36:22 +01:00
Matthias Kuhn
a45908f922 Remove dependency on QtScript 2017-12-10 13:01:51 +01:00
Matthias Kuhn
ba4346b5c5 Make deprecated QtScript library optional 2017-12-07 00:26:08 +01:00
Matthias Kuhn
bb6fda6cd6 Bump minimum spatialite version to 4.2 2017-11-16 07:57:41 +01:00
Juergen E. Fischer
a1024905bf fix windows warnings 2017-11-07 21:44:54 +01:00
Nyall Dawson
5ebd3983fd FreeBSD has thread_local support 2017-11-07 10:33:05 +10:00
Nyall Dawson
265be41d7c Don't use thread_local on mingw or OpenBSD builds
MingW has broken support for thread_local, so force disabling it
see
https://sourceforge.net/p/mingw-w64/bugs/445/
https://sourceforge.net/p/mingw-w64/bugs/527/
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80816

also OpenBSD has no thread_local support, see https://issues.qgis.org/issues/17351

So on these platforms we fall back to using QThreadStorage.

Fixes #17351
2017-11-06 09:20:12 +10:00
Richard Duivenvoorde
d09331e483 adding WITH_CLANG_TIDY as advanced, so you can build without it even if installed 2017-10-27 14:43:36 +02:00
Tim Sutton
0a615b6022 Update cmake contact to use info@qgis.org instead of my email (#5470) 2017-10-26 22:50:10 +02:00
Larry Shaffer
c66de14055 [auth] Add PKCS8 to PKCS1 key conversion for macOS (deps on libtasn1)
See description of QgsAuthCertUtils::pkcs8PrivateKey.

This fix may be needed on other platforms (untested at this point),
because Qt5 QSslkey class *still* does not directly support creation
using non-PKCS1 PEM- or DER-encoded data, though QCA, whose qca-ossl
plugin is linked to OpenSSL, does support PKCS1 and PKCS8.
2017-10-18 16:07:04 -06:00
Etienne Trimaille
2b742c7daf bump to Qt 5.9 for the 3D 2017-10-11 12:13:19 +02:00
Martin Dobias
041704e572 Require Qt >= 5.8 when 3D support is enabled 2017-09-27 13:58:49 +02:00
Martin Dobias
ba7573a94e GUI for configuration of 3D polygon symbols for vector layers
In the style dock there is a new "3D View" tab - so far working just for polygon layers.
It is possible to select a polygon layer, enable 3D renderer and adjust its properties.
If a 3D Map View is open, it will be immediately updated (if auto-apply is enabled)

Very exciting! :-)
2017-09-15 10:39:07 +02:00
Martin Dobias
675a1ae5bc Import of initial work on QGIS 3D framework from wonder-sk/qgis3d 2017-09-15 10:38:23 +02:00
Larry Shaffer
bd292b5fce Set CMake 3.9 policy for macOS RPATH settings to NEW 2017-09-13 21:56:58 -06:00
Nyall Dawson
9b2e60ee1b Remove use of old CMP0005 CMake policy
Since it's deprecated on newer CMake versions
2017-08-29 13:37:06 +10:00
Juergen E. Fischer
03e0298f49 msvc warning fixes:
* use AUTORCC to avoid locked qrc_images.cpp during build of gui tests
* bump minimum version of cmake to 3.0.0 for AUTORCC
* suppress some warnings in sip bindings
* suppress unreachable warnings and some more
* split sip files in more parts to suppress warning BK4504
* also remove old WITH_INTERNAL_YAML from travis
2017-08-10 00:09:14 +02:00
Juergen E. Fischer
5f87bd8643 msvc: suppress some warnings 2017-08-06 16:29:54 +02:00
Blottiere Paul
5eba29e743 Add libzip as dependency 2017-07-31 11:09:14 +01:00
Radim Blazek
eb6301e023 [GRASS] remove GRASS 6 support 2017-07-12 17:51:03 +02:00
Martin Dobias
a8cceff0fc Make it possible to build just core lib and providers: -DWITH_GUI=FALSE
This is useful in some cases when working on a third party app/script
that only uses qgis_core. For example, I am working on qgis 3D project
and it is useful to be able to build QGIS core lib with custom Qt version
without having to spend too much time building what I do not need.
Also may be useful for QField to simplify the build of QGIS as a dependency
(no QScintilla, Qwt) and avoid bits of code in providers that would not
be used anyway.

No real source code changes, just configuration changes, mainly in providers.
2017-07-07 11:38:03 +02:00
Sandro Santilli
eddf23c381 Make the check rule use xvfb-run, drop check-no-x
I see no reason for anyone wanting to see popping windows during
a `make check` run. Closes #12172.
2017-06-06 12:39:35 +02:00
Denis Rouzaud
fa5bd491fc run code_layout build from top CMakeLists
instead of adding an extra CMakeLists in .ci/travis/code_layout to build API doc, astyle and run tests (indentation, spelling, sip, doc coverage), the top CMakeLists has been adapted to allow not building core libraries and possibly just the static code layout
* astyle has been moved from /src/astyle to /lib/astyle (I would propose to move all external libraries, and possibly add git submodules)
2017-06-05 22:19:20 +02:00
Denis Rouzaud
281daee0ba run Doxygen and doc coverage test on static Travis config 2017-06-05 22:19:20 +02:00