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 /examples/scriptableapplication | |
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 'examples/scriptableapplication')
-rw-r--r-- | examples/scriptableapplication/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/scriptableapplication/CMakeLists.txt b/examples/scriptableapplication/CMakeLists.txt index 31174628c..fbfa00b98 100644 --- a/examples/scriptableapplication/CMakeLists.txt +++ b/examples/scriptableapplication/CMakeLists.txt @@ -101,7 +101,7 @@ set(WRAPPED_HEADER ${CMAKE_SOURCE_DIR}/wrappedclasses.h) set(TYPESYSTEM_FILE ${CMAKE_SOURCE_DIR}/scriptableapplication.xml) set(SHIBOKEN_OPTIONS --generator-set=shiboken --enable-parent-ctor-heuristic - --enable-pyside-extensions --enable-return-value-heuristic --use-isnull-as-nb_nonzero + --enable-pyside-extensions --enable-return-value-heuristic --use-isnull-as-nb-bool --avoid-protected-hack ${INCLUDES} -I${CMAKE_SOURCE_DIR} |