164 Commits

Author SHA1 Message Date
Nyall Dawson
ef9dd06d3e 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
2021-05-07 16:21:19 +10:00
Nyall Dawson
45a9309afa Show Python version in about screen and in Processing logs 2021-04-22 14:39:47 +10:00
Nyall Dawson
3dc5307e6d Revert "Hacky fix for sip issue"
This reverts commit 9e0fcb96495e4cc5d76cd3af06ae1a7c2bac5eda.
2021-02-25 11:08:56 +10:00
Nyall Dawson
90953d76d2 Hacky fix for sip issue 2021-02-25 11:08:56 +10:00
Nyall Dawson
53bf2cf8ca Fix QSCINTILLA_VERSION_STR redefinition warnings emitted on
newer QScintilla versions due to presence of
QSCINTILLA_VERSION_STR in QSci headers
2021-02-24 05:11:59 +10:00
Nyall Dawson
a89241c19d Fix typo in replacement string for Doxygen FILE_PATTERNS option
This was causing FILE_PATTERNS to always be set to blank, which
in newer doxygen versions meant that *.txt files were being included
alongside *.h, *.cpp etc. Accordingly doxygen was trying to parse
the various CMakeLists.txt files and choking and raising warnings.
2021-02-18 11:54:23 +10:00
Denis Rouzaud
c2f4c8edee fix pushing to CDash 2021-02-08 13:23:37 +10:00
Maksim Rylov
10a50d8d0f Initial implementation of HANA provider 2020-12-07 14:53:40 +01:00
Juergen E. Fischer
5440021f4f fix bionic build with pdal 2020-11-11 11:12:44 +01:00
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
bb5b625bc4 able to build without zstd and lazperf 2020-10-27 05:29:14 +10:00
Matthias Kuhn
ef70fb17ed Undef doxygen Q_DECL_DEPRECATED 2020-10-23 12:11:56 +02:00
Matthias Kuhn
245f354af9 Predefine Q_DECL_DEPRECATED for doxygen 2020-10-22 21:09:27 +02:00
Matthias Kuhn
42af1efa18 Fix a bunch of doc issues 2020-10-22 20:42:14 +02:00
Matthias Kuhn
d1a18750ad Fix doxygen warnings 2020-10-22 11:31:55 +02:00
Matthias Kuhn
ee6ab3ca62 Fail on doxygen warnings 2020-10-22 11:31:55 +02:00
Nyall Dawson
4057790cc8 Hookup georeferencer from 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
Matthias Kuhn
91c79f46a7 Fix WITH_DOT 2020-05-09 13:45:51 +02:00
Matthias Kuhn
77318730a8 [workflows] Add code_layout tests 2020-05-09 13:30:30 +02:00
Juergen E. Fischer
d33a5b56a9 azure-pipelines support
(blood, sweat and tears w/squ-ashed away)
2019-11-30 20:34:16 +01:00
Matthias Kuhn
223cc06eaf
Merge pull request #31531 from m-kuhn/qgis_version
Add _QGIS_VERSION_INT and _QGIS_VERSION #defines to qgsconfig.h
2019-09-07 08:44:33 +02:00
Peter Petrik
635c1b54d8 Allow to use WMS as static provider 2019-09-04 07:49:09 +02:00
Matthias Kuhn
8bd8a3913f
Add todos 2019-09-02 16:51:31 +02:00
Matthias Kuhn
d30b9f5dae
Update cmake_templates/qgsconfig.h.in 2019-09-02 14:03:57 +02:00
Matthias Kuhn
5a249bb9be
Update cmake_templates/qgsconfig.h.in 2019-09-02 14:03:51 +02:00
Matthias Kuhn
7cf1197e13 Add QGIS_VERSION_INT and QGIS_VERSION variables to qgsconfig.h
Because having VERSION_INT and VERSION in public headers is just screaming for conflicts.
2019-09-02 11:59:10 +02:00
Denis Rouzaud
50f87c196d add macros to Doxyfile.in 2019-03-25 09:18:32 -05:00
Nyall Dawson
36ca201671 Fix doxygen input filter 2019-02-27 09:41:11 +10:00
Nyall Dawson
107b48a430 Add NULLPTR macro for use in doxygen comments
For the c++ api dox this expands to "\c nullptr" (the
\c directive indicates a code literal value), and for sipify/Python
it expands to ``None`` (`` is sphinx annotation for literal values)

Makes for nicer dox for both c++ and Python!
2019-02-27 09:41:11 +10:00
Nyall Dawson
eed9852fb9 Add TRUE and FALSE macros for use in doxygen comments
For the c++ api dox these expand to "\c true" and "\c false" (the
\c directive indicates a code literal value), and for sipify/Python
they expand to ``True`` and ``False`` (`` is sphinx annotation
for literal values)

Makes for nicer dox for both c++ and Python!
2019-02-27 09:41:11 +10:00
Peter Petrik
bfdb3ec489 Qt5SerialPort optional 2018-11-13 10:48:02 +01:00
Alessandro Pasotti
05be622c30 OpenCL POC 1 2018-08-08 09:18:32 +02: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
lbartoletti
124e26815d Standardize shebangs (was Usr bin env) (#6229)
* Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python}

* fix perl;add bash

* Fix indentation using modified scripts

* Revert "fix perl;add bash"

This reverts commit be8b9113c25f7c2fb9c8c9bad556fbca2f0c0ba2.

* python3 everywhere

* more bash

* rebase
change perl

* Linux perl; missing from last PR

* fix doxygen_space

* Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python}

* fix perl;add bash

* Fix indentation using modified scripts

* Revert "fix perl;add bash"

This reverts commit be8b9113c25f7c2fb9c8c9bad556fbca2f0c0ba2.

* python3 everywhere

* more bash

* rebase
change perl

* fix doxygen_space
2018-02-05 03:38:02 -09:00
Nyall Dawson
f37c2bf6f6 Revert "[needs-qa]Usr bin env" 2018-01-30 11:33:49 +11:00
lbartoletti
1ce7dbad94 Merge branch 'master' of https://github.com/qgis/QGIS into usr_bin_env 2018-01-29 13:13:03 +01:00
lbartoletti
f2a0c77952 Merge branch 'usr_bin_env' of https://github.com/lbartoletti/QGIS into usr_bin_env 2018-01-15 15:59:08 +01: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
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
lbartoletti
0ec041d4cd Merge branch 'master' into usr_bin_env 2017-10-27 15:41:43 +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
lbartoletti
6b67a720da Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python} 2017-08-07 19:54:52 +02:00
Denis Rouzaud
fcc0d7dde3 enhanced output for code_layout build on Travis 2017-07-24 13:40:49 +02:00
Harrissou Sant-anna
0d9945deac Use JavaScript instead of javascript/Javascript
+ update INSTALL doc
2017-07-13 17:40:55 +02:00
Nyall Dawson
fc221a6ebe Add sip VirtualCatcherCode to avoid algorithm copies being
destroyed by the python garbage collector

The code generated with the /Factory/ annotation was not sufficient
to correctly transfer the ownership of objects created in Python
back to c++ (despite mailing list messages which hint that it
is).

Anyway, this awful abomination works. Let's all move on to more
useful ways to spend our time...
2017-07-10 15:51:02 +10: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
Nyall Dawson
eb39fb0ebd Add SIP_VIRTUALERRORHANDLER to Doxyfile.in 2017-06-23 12:08:54 +10:00
Denis Rouzaud
9e176feeac gps fixes 2017-06-08 09:38:34 +02:00