aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qtcreatorcdbext/CMakeLists.txt
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2022-02-09 12:30:36 +0100
committerChristian Stenger <christian.stenger@qt.io>2022-02-10 13:06:46 +0000
commit8a29a78ebfcfa4c4c825e2763900d8c4c33bc58f (patch)
tree68a4ca810e9a1d9683cb245832f34439b5b860d7 /src/libs/qtcreatorcdbext/CMakeLists.txt
parent6ede8b3bc0e96453e7c5725718b200cb8ac9b30f (diff)
CdbExt: Fix Python-C API handlingv7.0.0-beta1
From 3.10 onwards we need an additional macro when parsing and building values. Change-Id: Ia0bcdde467d87a1c7d22ec8657e050cdf5f1e52e Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/libs/qtcreatorcdbext/CMakeLists.txt')
-rw-r--r--src/libs/qtcreatorcdbext/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/qtcreatorcdbext/CMakeLists.txt b/src/libs/qtcreatorcdbext/CMakeLists.txt
index 03ca0eda6d..bf3d1c0989 100644
--- a/src/libs/qtcreatorcdbext/CMakeLists.txt
+++ b/src/libs/qtcreatorcdbext/CMakeLists.txt
@@ -90,7 +90,7 @@ if (_library_enabled)
extend_qtc_library(qtcreatorcdbext
DEPENDS "${Python3_LIBRARIES}"
INCLUDES "${Python3_INCLUDE_DIRS}"
- DEFINES WITH_PYTHON=1
+ DEFINES WITH_PYTHON=1 PY_SSIZE_T_CLEAN
SOURCES
pycdbextmodule.cpp pycdbextmodule.h
pyfield.cpp pyfield.h