aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6')
-rw-r--r--sources/pyside6/libpyside/class_property.cpp2
-rw-r--r--sources/pyside6/libpyside/class_property.h9
-rw-r--r--sources/pyside6/plugins/designer/CMakeLists.txt2
3 files changed, 1 insertions, 12 deletions
diff --git a/sources/pyside6/libpyside/class_property.cpp b/sources/pyside6/libpyside/class_property.cpp
index 2e1001be2..4f064febc 100644
--- a/sources/pyside6/libpyside/class_property.cpp
+++ b/sources/pyside6/libpyside/class_property.cpp
@@ -106,8 +106,6 @@ static PyTypeObject *createPyClassPropertyType()
PyClassProperty_slots,
};
- if (_PepRuntimeVersion() >= 0x030A00)
- PyClassProperty_spec.basicsize = sizeof(propertyobject310);
return SbkType_FromSpecWithMeta(&PyClassProperty_spec, PyClassPropertyType_TypeF());
}
diff --git a/sources/pyside6/libpyside/class_property.h b/sources/pyside6/libpyside/class_property.h
index f2ed29f1f..78f387fd4 100644
--- a/sources/pyside6/libpyside/class_property.h
+++ b/sources/pyside6/libpyside/class_property.h
@@ -15,15 +15,6 @@ struct propertyobject {
PyObject *prop_set;
PyObject *prop_del;
PyObject *prop_doc;
- int getter_doc;
-};
-
-struct propertyobject310 {
- PyObject_HEAD
- PyObject *prop_get;
- PyObject *prop_set;
- PyObject *prop_del;
- PyObject *prop_doc;
// Note: This is a problem with Limited API: We have no direct access.
// You need to pick it from runtime info.
PyObject *prop_name;
diff --git a/sources/pyside6/plugins/designer/CMakeLists.txt b/sources/pyside6/plugins/designer/CMakeLists.txt
index f886c7f36..2a9e796d5 100644
--- a/sources/pyside6/plugins/designer/CMakeLists.txt
+++ b/sources/pyside6/plugins/designer/CMakeLists.txt
@@ -26,7 +26,7 @@ target_compile_definitions(PySidePlugin PRIVATE -DQT_NO_KEYWORDS=1)
# See ShibokenHelpers.cmake::shiboken_check_if_limited_api() which is called always
# with default FORCE_LIMITED_API set to TRUE for building libshiboken
if(FORCE_LIMITED_API OR WIN32)
- target_compile_definitions(PySidePlugin PRIVATE "-DPy_LIMITED_API=0x03090000")
+ target_compile_definitions(PySidePlugin PRIVATE "-DPy_LIMITED_API=0x030A0000")
endif()
if(CMAKE_BUILD_TYPE STREQUAL "Debug")