diff options
Diffstat (limited to 'sources/pyside6/tests/pysidetest/typesystem_pysidetest.xml')
-rw-r--r-- | sources/pyside6/tests/pysidetest/typesystem_pysidetest.xml | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/sources/pyside6/tests/pysidetest/typesystem_pysidetest.xml b/sources/pyside6/tests/pysidetest/typesystem_pysidetest.xml index c959e7fd3..592d90a83 100644 --- a/sources/pyside6/tests/pysidetest/typesystem_pysidetest.xml +++ b/sources/pyside6/tests/pysidetest/typesystem_pysidetest.xml @@ -35,6 +35,8 @@ qRegisterMetaType<PySideCPP2::PySideLong>("PySideLong"); </inject-code> + <object-type name="ContainerTest"/> + <namespace-type name="PySideCPP"> <object-type name="TestObjectWithNamespace"/> <object-type name="TestObject2WithNamespace"> @@ -61,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> |