Julien Cabieces
176890fcf5
fix(SipDeprecated): Don't use deprecated annotation with message
...
It crashes in 6.9.1
2025-01-31 08:39:37 +10:00
Matthias Kuhn
072aca8f1d
No reason to handle undefined lookup
2024-12-31 12:18:16 +01:00
Matthias Kuhn
e22281d4db
Fix building on apple
2024-12-31 12:16:50 +01:00
Matthias Kuhn
c45b1f5c05
[cmake] Cleanup python libraries and includes
2024-12-31 10:45:27 +01:00
Julien Cabieces
51dc2ec2ac
api(Deprecated): Generate always /Deprecated/ annotation with text
...
Use cmake to remove text when SIP version is less than 6.9.0
2024-12-17 09:06:44 +01:00
مهدي شينون (Mehdi Chinoune)
260e565d13
Fix building with Qt6 on MinGW-w64
2024-11-03 21:48:08 +01:00
Julien Cabieces
3e27ac5985
[PyQt6] Build PyQt6
2024-01-16 12:18:11 +10:00
Juergen E. Fischer
19d7edcfed
produce and install pyqgis.pap (superceeds #51429 )
2023-01-25 23:06:35 +01:00
Sandro Mani
ff9f2833d0
Assorted fixes towards PyQt6 support
2022-11-30 10:13:52 +01:00
Juergen E. Fischer
c6008b7ee1
fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
...
reverting 3fb0f66 (followup #45348 )
Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00
Sandro Mani
ff176aa0fe
Explicitly include PYQT5_SIP_DIR when running sip-build
2021-10-06 16:09:24 +02:00
Juergen E. Fischer
bc757fe331
also build pyi with sip-build (followup 6fd34ca92b3e2bc)
2021-10-04 12:56:23 +02:00
Juergen E. Fischer
f76af64fba
msvc build fixes
2021-09-29 23:49:33 +02:00
Sandro Mani
6fd34ca92b
Add sip5/sip6 sip-build support
2021-09-24 08:56:40 +10:00
Denis Rouzaud
555f516925
use cmake native FindPython ( #42497 )
2021-03-28 21:49:40 +02: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
Dmitry Shachnev
e78841214e
Generate sip.h in source directory for SIP v5
2020-07-21 21:21:21 +03:00
Denis Rouzaud
9c5797ec38
sip fix include directory
2018-01-22 08:15:32 -04:00
Denis Rouzaud
0644f59cde
fix variable used for configuration
2018-01-17 10:16:37 -04: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
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
Juergen E. Fischer
6186c0f0ff
fix windows build (extern "C" can returns pointers, but not C++ containers)
2017-08-10 14:00:53 +02: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
6a56cb0dd0
updates and fixes for windows qt5/py3 build
2017-01-24 01:25:59 +01:00
Denis Rouzaud
748be8de71
[spelling] replace behaviour by behavior
2017-01-11 11:35:19 +01:00
Juergen E. Fischer
6acf0f745f
msvc: use /bigobj for sip modules
...
(cherry picked from commit d0b3e39cdab1da17d7a977ba3def5ce1b64ff707)
2016-10-22 12:28:44 +02:00
Matthias Kuhn
4b6d38c4c4
Add option to suppress SIP warnings ( #3230 )
...
to fix travis builds for OSX. Yay
2016-06-23 16:16:51 +02:00
Matthias Kuhn
f43b2ac47a
Followup d3fd818: do not hide python module symbols
2016-06-11 12:05:44 +02:00
Matthias Kuhn
7dfc69657f
Migrate provider test to python 3
2016-05-13 22:23:03 +02:00
Matthias Kuhn
89b7a4aaa2
Introduce NULL QVariant to PyQt5
2016-05-13 22:23:03 +02:00
Matthias Kuhn
0b6dd352c9
[py3] CMake updates to support Python3 and PyQt5
2015-11-16 07:42:47 +01:00
Nyall Dawson
c391fcd81c
Avoid cmake CMP0026 warning on Win32 by replacing disallowed LOCATION
...
target property
2015-06-19 13:10:02 +10:00
Juergen E. Fischer
5134ef9aba
fix some deprecation warnings
2014-02-24 00:43:20 +01:00
Juergen E. Fischer
f2029b4ec4
log python warnings and enabled deprecation warnings
2013-01-24 03:08:20 +01:00
Juergen E. Fischer
fdefb5bffb
run python tests from build directory
2012-07-25 22:32:29 +02:00
Juergen E. Fischer
59a08c4109
fix #5331
2012-04-07 19:25:32 +02:00
Juergen E. Fischer
2564e6a79a
[API] add sip bindings for QgsCsException
2012-01-28 22:33:14 +01:00
Juergen E. Fischer
893f305c51
update for sip 4.13
2011-12-24 05:09:25 +01:00
jef
ff404a982a
fix sip macro change from r15197
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@15200 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-18 15:33:27 +00:00
jef
1edaeca304
add QGISDEPRECATED macro and fix a bunch of warnings
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@15197 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-18 15:05:35 +00:00
jef
5888caafad
fix initial sip binding creation on windows
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@13734 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-06-14 17:58:53 +00:00
jef
56c7575d60
fix common typos
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@13391 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-26 07:19:50 +00:00
kyngchaos
e7c24a25c1
syntax fix
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12780 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-16 17:50:05 +00:00
kyngchaos
ef70e48a27
link python modules as modules on OSX
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12779 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-16 17:07:18 +00:00
wonder
6a0cd1eff6
Changed SIP_EXECUTABLE to SIP_BINARY_PATH to keep original variable name.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12775 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-16 11:08:04 +00:00
wonder
87c5348818
Native and faster compilation of python bindings ( #2370 )
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12774 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-16 11:04:41 +00:00