Description
Shiboken uses the full type name while generating python types, even if the namespace (parent type) is marked as not generated.
For example.
namespace Foo {
class MyType;
}
if I mark namespace "Foo" as not generated, I expect the "MyType" to be represented as "Module.MyType" but that is not true. Shiboken represents it as "Module.Foo.MyType".
from Module import MyType
o = MyType()
print(o) """ prints Module.Foo.MyType
That causes a problem on shiboken type resolution based on type name too.
Attachments
Issue Links
- relates to
-
PYSIDE-1133 Renaming via "target-lang-name" is not reflected in consuming function signatures
- Closed
-
PYSIDE-1075 Fail to generate function in namespaces
- Closed
- resulted in
-
PYSIDE-1326 Failed to generate code for QFlags on hidden (1st order) namespace
- Closed