diff options
author | Christian Tismer <tismer@stackless.com> | 2022-04-10 17:22:14 +0200 |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2022-05-20 22:02:41 +0200 |
commit | 31deae2a0ea3725d038433f6be91119865a8f399 (patch) | |
tree | 317de39eb7c95c534864dff5fc4b8eb75d47a9ca /examples/scriptableapplication/pythonutils.cpp | |
parent | 6b27f49e58e4a8e24fee10b67fdb02a0fb28fba1 (diff) |
PyEnum: Prepare to support both implementations
The enum implementation should be switchable between the
old and the new version. This switching is possible only
before PySide import.
This patch prepares the switching capability for the
signature module and installs fields that will affect
the global header files.
The new version can be selected by setting the environment
variable
PYSIDE63_OPTION_PYTHON_ENUM=1
or setting sys.pyside63_option_python_enum=1
[ChangeLog][PySide6] The signature module was prepared to support
both C++ enums and Python enums. This can be selected at startup.
Task-number: PYSIDE-1735
Pick-to: 6.3
Change-Id: I14999e1049fbaaccd00f00d1b7b1257bc9287255
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/scriptableapplication/pythonutils.cpp')
0 files changed, 0 insertions, 0 deletions