diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-09-05 15:42:11 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-09-06 09:54:34 +0200 |
commit | 7da5e8f0da921788d1159ebe4d4759b5c4736e5c (patch) | |
tree | da64d1975a5bb172def6af3517a9f2fd67b05f93 /sources/pyside6/cmake/PySideSetup.cmake | |
parent | 1fabac91e548fdb537dce25b3b9a58235275804c (diff) |
shiboken6: Replace options related to nb_zero by nb_bool
nb_zero is Python 2 terminology.
Rename the related functions and use new options.
[ChangeLog][shiboken6] The command line options
--use-operator-bool-as-nb_nonzero and --use-isnull-as-nb_nonzero have
been replaced by --use-operator-bool-as-nb-bool and
--use-isnull-as-nb-bool, respectivily to match Python 3 terminology.
The old options continue to work.
Change-Id: I1201f4b15e021c8df96740149c20fa1478c12ae1
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/cmake/PySideSetup.cmake')
-rw-r--r-- | sources/pyside6/cmake/PySideSetup.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/cmake/PySideSetup.cmake b/sources/pyside6/cmake/PySideSetup.cmake index 4bd3d2831..d6f20bd11 100644 --- a/sources/pyside6/cmake/PySideSetup.cmake +++ b/sources/pyside6/cmake/PySideSetup.cmake @@ -222,7 +222,7 @@ set(GENERATOR_EXTRA_FLAGS --generator-set=shiboken --enable-parent-ctor-heuristic --enable-pyside-extensions --enable-return-value-heuristic - --use-isnull-as-nb_nonzero) + --use-isnull-as-nb-bool) use_protected_as_public_hack() # Build with Address sanitizer enabled if requested. This may break things, so use at your own risk. |