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.xml17
1 files changed, 9 insertions, 8 deletions
diff --git a/sources/pyside6/tests/pysidetest/typesystem_pysidetest.xml b/sources/pyside6/tests/pysidetest/typesystem_pysidetest.xml
index 2736f8319..592d90a83 100644
--- a/sources/pyside6/tests/pysidetest/typesystem_pysidetest.xml
+++ b/sources/pyside6/tests/pysidetest/typesystem_pysidetest.xml
@@ -63,17 +63,18 @@
</modify-function>
</object-type>
+ <value-type name="TestQVariantEnum"/>
+
<namespace-type name="FlagsNamespace" visible="no">
<enum-type name="Option" flags="Options"/>
<object-type name="ClassForEnum" />
</namespace-type>
- <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?
- I am not a C++ warrior, so I'd prefer if it would say "it is ok if you see this warning!".
- Well, maybe somebody will enlighten me, and I'll change this comment.
- I'd actually prefer an implementation that avoids generating this message, but I still failed
- doing so :-(
- -->
+ <object-type name="SharedPointerTestbench"/>
+
+ <value-type name="QVariantHolder"/>
+
+ <smart-pointer-type name="QSharedPointer" type="shared" getter="data"
+ reset-method="reset"/>
+
</typesystem>