272 Commits

Author SHA1 Message Date
Julien Cabieces
0884f5c0ce Build PyQt6 with c++ 17 2023-12-12 09:36:27 +10:00
bdm-oslandia
2d64df22a4 fix(python/CMakeLists.txt): be sure we only use std 14 for python (not std 17) 2023-10-22 10:53:43 +10:00
Nicklas Larsson
021f919f24
cmake: update to find PDAL 2.6+
With PDAL 2.6 the 'pdal_util' library is removed as a separate library
and hence part of the 'pdalcpp' library.
2023-10-17 19:41:44 +02:00
Matthias Kuhn
2c8e784625
Use geos cmake configuration (#54659) 2023-09-19 20:10:15 +00:00
Matthias Kuhn
55593bdbb3 Cleanup GDAL_INCLUDE_DIR 2023-09-18 19:02:53 +02:00
Nyall Dawson
f86e46ed7a Add optional WITH_QTGAMEPAD cmake switch, and create 2d/3d gamepad
map controller classes which expose QGamepad functionality

Especially handy because the underlying QGamepad classes
are not accessible to Python
2023-06-27 14:49:20 +10:00
Chris Mayo
ecdb1e2989 Fix build with WITH_BINDINGS=yes and WITH_QTSERIALPORT=no
auto_generated/sensor/qgsabstractsensor.sip: In function ‘const sipTypeDef* sipSubClass_QgsAbstractSensor(void**)’:
auto_generated/sensor/qgsabstractsensor.sip:35: error: ‘QgsSerialPortSensor’ does not name a type; did you mean ‘sipName_QgsSerialPortSensor’?
2023-06-26 08:24:43 +10:00
Alexander Bruy
ed1378b527 do not require PDAL >= 2.5 for QGIS, make it requirement only for
processing provider
2023-03-22 16:04:01 +01:00
Alexander Bruy
21a16e4d3c add Processing provider for PDAL algorithms 2023-03-22 16:04:01 +01:00
Nyall Dawson
8dd4b005e0 Fix handling of QSci pap file when running directly from build dir 2023-01-30 13:58:48 +10:00
Juergen E. Fischer
e8cec91091 fix mingw build 2023-01-27 04:36:20 +01:00
Juergen E. Fischer
19d7edcfed produce and install pyqgis.pap (superceeds #51429) 2023-01-25 23:06:35 +01:00
Franck HOUSSEN
a33e2bcef9 [BUG FIX] Fix compilation on debian:
In file included from /path/to/QGIS/build/python/core/auto_generated/pointcloud/qgspointcloudlayerexporter.sip:242:
/path/to/QGIS/src/core/pointcloud/qgspointcloudlayerexporter.h:28:10: fatal error: pdal/PointView.hpp: No such file or directory
   28 | #include <pdal/PointView.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~
2022-12-16 16:57:53 +01:00
Sandro Mani
ff9f2833d0 Assorted fixes towards PyQt6 support 2022-11-30 10:13:52 +01:00
Nyall Dawson
51e3c0833b Sip update 2022-08-12 20:36:07 +10:00
Nyall Dawson
9e19ec3a22 Try to fix version detection 2022-05-12 19:58:04 +10:00
Nyall Dawson
86f7d4e89e [api] Add QgsCombinedStyleModel class, for combining entities from several
QgsStyle models into a single combined view
2022-05-12 19:58:04 +10:00
Juergen E. Fischer
bc757fe331 also build pyi with sip-build (followup 6fd34ca92b3e2bc) 2021-10-04 12:56:23 +02:00
Sandro Mani
c5bb41dc01 PyQt5 cmake improvements 2021-09-30 12:13:29 +02:00
Sandro Mani
6fd34ca92b Add sip5/sip6 sip-build support 2021-09-24 08:56:40 +10:00
Denis Rouzaud
437b3efb92 disable feature earlier 2021-06-24 15:13:46 +02:00
Denis Rouzaud
51f25b7df9 fix SIP feature 2021-06-24 11:48:49 +02:00
Matthias Kuhn
ff3be3df40 Remove QTMOBILITY
It's days are gone
2021-06-19 06:20:57 +10:00
Juergen E. Fischer
f8e2adb84c install and package pyis (fixes #41264) 2021-06-10 00:43:05 +02:00
nirvn
0008158ab0 Allow GSL-less qgis analysis library 2021-06-01 11:39:21 +07: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
Denis Rouzaud
555f516925
use cmake native FindPython (#42497) 2021-03-28 21:49:40 +02:00
Nyall Dawson
bb76b6bf37 Add an extremely horrible hack to allow the python bindings to build
on gcc11

Don't blame me, blame sip
2021-03-27 09:48:59 +10:00
Nyall Dawson
8bf253d6ef Move classes representing GCP based transformations from app to analysis,
and make ready for exposure to public API
2021-02-21 15:18:57 +10:00
Denis Rouzaud
76a2869211 remove includes of binary dirs 2021-01-14 08:09:36 +10:00
Denis Rouzaud
21828ba85f [cmake] target_include_directories for 3d 2021-01-14 08:09:36 +10:00
Denis Rouzaud
23b50ab264
[cmake] remove of redundant includes (#40993) 2021-01-13 19:48:58 +01:00
Denis Rouzaud
a8345c03e9 [cmake] update depending CMakeLists.txt 2021-01-13 09:50:10 +01:00
Denis Rouzaud
e305a98417 [cmake] remove left-over of includes of src/core 2021-01-13 09:50:06 +01:00
Denis Rouzaud
2631143c5a [cmake] update depending CMakeLists.txt 2021-01-13 09:38:48 +01:00
Nyall Dawson
a9c80e5740 Code shuffle
Move vector, project and network related core .cpp/.h files into
dedicated subdirectories.

An attempt to organise src/core better to make things easier to find.
2020-12-29 11:38:11 +10:00
Nyall Dawson
8d45910535 Move QgsArcGisRestUtils to core, cleanup API, add docs and selectively
expose to Python
2020-12-18 18:14:49 +10:00
Denis Rouzaud
eddf6feb45 modernize CMakeLists.txt files 2020-11-12 07:14:46 +10:00
Nyall Dawson
4f6f163ead Move geocoder classes to core 2020-10-30 14:31:04 +10:00
Nyall Dawson
94f3ea0d14 Add interface API for geocoders 2020-10-30 09:19:48 +10:00
Peter Petrik
de6f4d6ad8 hook point cloud layer type to the rest of the code 2020-10-27 05:29:14 +10:00
Nyall Dawson
1bafa2f66f Code shuffle: move QgsCodeEditor classes to their own folder 2020-10-06 17:11:34 +10:00
vcloarec
09c73433dd move QgsMeshLayerProperties to GUI 2020-09-14 15:55:18 +10:00
NEDJIMAbelgacem
5be696d33f Fix compilation error for ubuntu system packages users 2020-08-05 10:45:51 +01:00
Nyall Dawson
c87a8f6afb Code shuffle to move all material classes to separate subdirectory 2020-08-03 16:34:10 +10:00
Dmitry Shachnev
d0c4e0de9d Use SIP_INCLUDE_DIR and SIP_MODULE_DIR only with SIP v4 2020-07-21 21:21:21 +03:00
Blottiere Paul
cc19c5fb7f Fix MappedType error 2020-06-12 08:45:13 +10:00
Nyall Dawson
1f835dfa9a [3d] Expose 3d algorithms provider to Python
Otherwise this provider cannot be initialized from standalone Python
scripts

Fixes #36661

Also cleanup 3d sip generation by correctly defining SIP_NO_FILE
in headers we don't want to expose, so that the sip_include script
can do its magic
2020-05-29 03:44:55 +10:00
Nyall Dawson
e4b201a414 Code shuffle 2020-05-12 10:33:30 +10:00
Tom Palan
3dad4882a7 Do not build python analysis when WITH_ANALYSIS=FALSE 2020-05-10 13:03:42 +10:00