68 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
c26ed69c6b Rework map touch tool
Qt5 allows runtime detection of touch devices. This commit reworks
the current touch map tool by pulling its behavior into the normal
pan tool when a touch device is detected.

It avoids the need for a seperate map tool for touch interaction,
and also avoids having this tool always appear on the Windows
builds (regardless of the presence of a touch device)
2017-02-12 15:06:24 +10:00
David Marteau
689f3b1ab2 Expose QgsServerInterface to service modules
* Instanciate QgsServerInterface even if HAVE_SERVER_PYTHON_PLUGINS is
      not defined
    * Pass QgsServerInterface in module registration methods.
    * Add QgsServer initialisation test

 #Please enter the commit message for your changes. Lines starting
2017-01-10 14:34:16 +01:00
Sandro Mani
ee57c1fc43 [ArcGIS REST] Port to Qt5 2016-09-21 09:12:54 +10:00
Sandro Mani
8f158771a3 Also hide ArcGIS provider actions if provider is disabled 2016-06-03 11:52:03 +02:00
Nathan Woodrow
3f4250feda More ninja changes 2016-05-24 12:53:24 +10:00
Juergen E. Fischer
5e54b93be7 remove pseudo options HAVE_MSSQL, HAVE_DB2, HAVE_SPATIALITE
and HAVE_PYTHON
2016-04-04 00:59:38 +02:00
David Adler
5fe19c5f15 merged DB2 updates
[FEATURE] New vector data provider for DB2 sources
2016-04-04 07:55:50 +10:00
Sandro Santilli
98e8f03662 Add ENABLE_MODELTEST cmake variable/define, default to false 2014-12-19 15:00:59 +01:00
Juergen E. Fischer
6a1e1bb668 * fix server plugin build on windows
* move src/mapserver to src/server (IMHO better name and in sync with
  python/server)
* rename cmake option WITH_MAPSERVER to WITH_SERVER
* rename define MAPSERVER_HAVE_PYTHON_PLUGINS to HAVE_SERVER_PYTHON_PLUGINS
2014-11-28 16:46:29 +01:00
elpaso
23af509957 Added define for conditional server plugins compilation 2014-11-26 16:02:32 +01:00
Larry Shaffer
30fff85703 Define QGIS_MACAPP_BUNDLE in qgsconfig.h so resources can be found when QGIS_MACAPP_BUNDLE=0 2014-02-22 15:02:51 -07:00
Larry Shaffer
3d0b28649e [globe] Make OSG_PLUGINS_PATH CMake option functional on Mac 2013-11-11 18:48:27 -07:00
Larry Shaffer
546b8d2397 [globe] Fix Mac dependencies so plugin can run from app bundle 2013-09-14 10:04:48 -06:00
Juergen E. Fischer
4d3d678080 introduce MAPSERVER_SKIP_ECW setting to disable ECW support in mapserver 2013-05-22 14:17:12 +02:00
Larry Shaffer
28e17159d1 Fix for #7289, add CMake option to enable building with Qt jom (nmake) on Windows
- Can now compile using NMake with jom directly from QtCreator using MSVC compiler (2008) and OSGeo4W devel libs
- Make app capable of running from build directory
- Caveat: may be better way to do it; could have better warning control
2013-03-08 19:57:40 -07:00
Juergen E. Fischer
2fc799b98c [FEATURE] add oracle provider 2013-01-09 16:47:01 +01:00
Larry Shaffer
2f3243d28a Pass path to Qt plugins when Mac bundle is run from build directory 2012-11-21 20:23:52 -07:00
Larry Shaffer
e8edb950e4 Add CMake finds for QScintilla2 and Qsci module
- Needs testing on Windows platform
- Add QScintilla2 library version info to About dialog
- Add Mac bundling support for Qwt 6 framework and QScintilla2
- Fallback to sys or custom site-pkgs when looking for PyQt4 modules to Mac bundle
2012-10-22 20:45:14 -06:00
Pirmin Kalberer
be7504459e Optional use of external osgEarthQt 2012-10-19 02:03:42 +02:00
Juergen E. Fischer
71cfacbb54 fix 9e21b1752 (actually use the value of VERSION_INT as symbol postfix) 2012-07-26 16:09:00 +02:00
Juergen E. Fischer
0cfe094aca move HAVE_TOUCH to qgsconfig.h - fixes vtable of QgsMapCanvas/QgsMapTool for plugins 2012-07-18 01:13:47 +02:00
Etienne Tourigny
f60d40aa10 use VSIReadDir() from gdal instead of quazip for listing .zip files and remove quazip entirely, including HAVE_ZLIB variable ; set default scanZip to 2 (Basic Scan) 2012-05-08 13:24:03 -03:00
Etienne Tourigny
e5775e71d5 add detection of libz (optional, needs update for win32) 2012-04-11 19:29:11 -03:00
szekerest
d212ca7f71 Adding the native MSSQL provider 2012-03-23 09:45:59 +01:00
Juergen E. Fischer
7b85948fa2 strip toplevel directory from debugging output 2012-01-09 00:43:51 +01:00
Tim Sutton
5193f60d2a Revert "Merge branch 'master' of github.com:qgis/Quantum-GIS into qgis-master"
This reverts commit 78ce3cdc84b79dbec5d227db9ee14af6edf9af66, reversing
changes made to 2414a3abbc97483a5355c262a96c4fc353566bcb.
2011-11-30 15:25:43 +02:00
Tim Sutton
33ae3f96e6 Keep providers in a separate dir to plugins 2011-11-19 19:09:39 +02:00