aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/pysidetest/typesystem_pysidetest.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/pysidetest/typesystem_pysidetest.xml')
-rw-r--r--sources/pyside6/tests/pysidetest/typesystem_pysidetest.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/pyside6/tests/pysidetest/typesystem_pysidetest.xml b/sources/pyside6/tests/pysidetest/typesystem_pysidetest.xml
index 2736f8319..7f1170466 100644
--- a/sources/pyside6/tests/pysidetest/typesystem_pysidetest.xml
+++ b/sources/pyside6/tests/pysidetest/typesystem_pysidetest.xml
@@ -68,6 +68,11 @@
<object-type name="ClassForEnum" />
</namespace-type>
+ <object-type name="SharedPointerTestbench"/>
+
+ <smart-pointer-type name="QSharedPointer" type="shared" getter="data"
+ reset-method="reset"/>
+
<suppress-warning text="type 'QPyTextObject' is specified in typesystem, but not defined. This could potentially lead to compilation errors." />
<!-- Qt5: I never really understood this warning. Probably it is because there
is no way to instantiate the class. Anyway, why must this class emit this warning?