464 Commits

Author SHA1 Message Date
Matthias Kuhn
ff3be3df40 Remove QTMOBILITY
It's days are gone
2021-06-19 06:20:57 +10:00
Loïc Bartoletti
1874274b9f [FreeBSD] remove if statement in FindPyQt5.py and fix #41913 2021-06-06 08:53:15 +10:00
Nyall Dawson
8f8c90897a Use opencl.hpp header instead of cl2.hpp if present
Avoids a "cl2.hpp has been renamed to opencl.hpp" warning being
spammed out on newer opencl environments
2021-06-01 11:58:01 +10:00
Denis Rouzaud
016e5e785f separate gui/core parts of auth method libraries 2021-05-19 10:55:43 +02:00
nirvn
5c212369ae Apply a fix to FindQCA.cmake for vcpkg 2021-05-16 09:11:24 +10:00
Peter Petrik
c40b4643b9
slim qgsquick to micro-core (#43204)
Keep only files that are used in both Input and QField in QgsQuick as basis of the QML library that can grow further.


Co-authored-by: Denis Rouzaud <denis.rouzaud@gmail.com>
2021-05-14 15:38:18 +02:00
Denis Rouzaud
da08c8a435
[cmake] generalize Python output directory in UseTest macro (#43191)
* [cmake] generalize Python output directory in UseTest macro

this is helpful in case we set up another python output directory (eg PySide2)

* define python output directories to the parent scope

* try with target_include_directories

* define vars on top level

* Update UsePythonTest.cmake

* some cleanup

* more cleanup

* fix uic

* fix path for all platforms

* fix var
2021-05-13 07:32:03 +02:00
Matthias Kuhn
41ffffed18 Optimize 2021-05-11 08:36:46 +02:00
Matthias Kuhn
4a16d251e2 Add comment 2021-05-11 08:28:59 +02:00
Matthias Kuhn
ec59ad2bd5 Only relink qgis core if version changed
qgis_core is linked again, whenever cmake is run, because qgsversion.h is regenerated every time.
This commit only touches the file if the content actually changed and speeds up compliation in some cases
2021-05-11 07:48:02 +02:00
Denis Rouzaud
0eee27f14c
macos now always has loader path (#42859) 2021-04-19 15:41:43 +02:00
Juergen E. Fischer
c5ea4b220c osgeo4w: vc16 updates 2021-04-01 23:39:19 +02:00
Denis Rouzaud
555f516925
use cmake native FindPython (#42497) 2021-03-28 21:49:40 +02:00
Juergen E. Fischer
65a3cb6d90 fix 79572de47614 2021-03-27 19:31:16 +01:00
Denis Rouzaud
7a56c36d55 [qt6] CMake build adjustments for qt6 2021-03-25 11:06:32 +01:00
Nyall Dawson
e18584239f Force c++14 only for sip builds, as sip generated code uses deprecated c++ removed in c++17 2021-02-25 11:08:56 +10:00
Bas Couwenberg
fc1ac8bef8 Add support for PROJ 8.0.0 in FindProj.cmake.
proj_api.h is no longer available in PROJ 8.0.0, use proj.h instead.

Fixes: #41735
2021-02-24 04:51:07 +10:00
Nyall Dawson
af69dc7c0b Require GDAL 3.0+
Drop compatibility with GDAL v2
2021-02-23 12:47:04 +10:00
Peter Petrik
0ddff71ccb
support python 3.8 and qgis-deps-0.7.0 (#41505) 2021-02-11 15:10:35 +01:00
Sam Gillingham
a2bc59798f don't search for C++ GEOS lib with MSVC 2021-02-04 23:20:55 +01:00
Juergen E. Fischer
79572de476 fix windows nightly (make sure that the header PROJ_VERSION_MAJOR was detected from (nightly build) is actually used) 2021-01-15 10:23:09 +01:00
Maxim Rylov
d4494e5b43 Add odbc-cpp-wrapper library to external folder 2021-01-12 15:57:00 +01:00
Maxim Rylov
61fbdcf5ff Merge branch 'master' into hana-provider 2020-12-28 16:08:26 +01:00
Martin Dobias
b5e98c346d Lower PDAL version requirement to >= 1.7 2020-12-23 09:43:19 +10:00
Martin Dobias
e066bab310
[pdal] fix pthreads on linux + check for pdal >= 2.2 (#40619) 2020-12-16 14:04:54 +01:00
Maxim Rylov
48961ef8b2 Switch HANA tests to run against HANA Cloud 2020-12-07 14:53:44 +01:00
Maksim Rylov
9a380df713 Link odbc-cpp-wrapper library statically 2020-12-07 14:53:43 +01:00
Maksim Rylov
dd95772bc8 Resolve spell checking issues in HANA provider 2020-12-07 14:53:41 +01:00
mrylov
a64982b258 Library name in FindODBCCPP.cmake must be in lower case 2020-12-07 14:53:40 +01:00
Maksim Rylov
10a50d8d0f Initial implementation of HANA provider 2020-12-07 14:53:40 +01:00
Peter Petrik
eac5d67e6c
allow use poly2tri from system 2020-11-24 09:18:51 +10:00
Nyall Dawson
18976fb40b Default to building WITH_EPT, and show friendly error if WITH_EPT is true but zstd not found 2020-11-13 09:55:04 +10:00
Peter Petrik
0d633c49fe fix_pdal 2020-11-10 05:47:09 +10:00
Nyall Dawson
c7a6e6bd15 Embed a copy of laz-perf, and use if system laz-perf is not found
Laz-perf is a relatively "underground" library, and is not packaged
for many major distributions. Its also tiny and trivial to include with
the other external libraries.

This avoids requiring users who want point cloud support to have to
compile their own laz-perf
2020-11-09 06:27:05 +01:00
Juergen E. Fischer
7c458a9694 fail if sipbuild is found, but not sip5 2020-11-07 18:58:37 +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
Nyall Dawson
ac7f58b4d5 Partially revert changes to FindPDAL.cmake 2020-11-05 20:16:48 +10:00
Nyall Dawson
c9bee4a647 Cleanup FindPDAL.cmake, add search path for Fedora 2020-11-05 20:16:48 +10:00
Peter Petrik
3dec432cb6 [pointclouds] add basic structure for PDAL layer 2020-11-04 21:56:09 +01:00
Peter Petrik
29113a89c1 fix some checks and building 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
Damiano Lombardi
a27420e7c8 Fix cmake config to find qca headers on Opensuse tumbleweed 2020-09-08 07:11:03 +10:00
Dmitry Shachnev
0506895753 Make FindPyQt5.py compatible with SIP v5 2020-07-21 21:49:46 +03:00
Dmitry Shachnev
426098bb86 FindPyQt5.py: Read version and SIP flags directly from PyQt5
And fix Qt version tag detection.
2020-07-21 21:46:24 +03:00
Dmitry Shachnev
e78841214e Generate sip.h in source directory for SIP v5 2020-07-21 21:21:21 +03:00
Dmitry Shachnev
d0c4e0de9d Use SIP_INCLUDE_DIR and SIP_MODULE_DIR only with SIP v4 2020-07-21 21:21:21 +03:00
Dmitry Shachnev
33b58dd7e8 Make FindSIP.py compatible with SIP v5 2020-07-21 21:21:21 +03:00
Alexander Bruy
60397ffa42 fix argument in the CMake IF statement (followup 4009fa8e22) 2020-07-20 12:21:27 +03:00
Daniel Minor
4009fa8e22 Fix FindPyQt5 cmake and python scripts
As written, the FindPyQt5.cmake and FindPyQt5.py scripts will succeed even if
PyQt5 is not installed. In FindPyQt5.cmake, we have PYQT5_FIND_REQUIRED rather
than PyQt5_FIND_REQUIRED, so the package is always treated as though it is
optional. In FindPyQt5.py, the script will succeed with a default location for
the sip directory, even if the PyQt5 directory is not located.

For some systems, if enough other dependencies are installed, the build can
get about halfway complete without the main PyQt5 dependency, and then fail
with a message like:

sip: Unable to find file "QtXml/QtXmlmod.sip"

I hit this building on Ubuntu, and there have been a few similar bug reports in
the past.
2020-07-16 08:41:14 +10:00