diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-05-23 09:18:39 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-05-23 19:08:23 +0200 |
commit | 779e6c32b1580a658b7906accb391adb799c6fe6 (patch) | |
tree | e1fc06f62d3b2ca06e41e0de3162d76c38db337b /examples/scriptableapplication/pythonutils.cpp | |
parent | 15d8acf860456f4f49a7487505b651cb939b535f (diff) |
shiboken6: Fix passing QFlags by const-ref
The type resolution code searched the result of TypeInfo::toString()
in the type database, which may contain qualifications like
"const Foo &".
To fix this, add a function returning the name with instantiations
only and use that. As a drive-by, add a convenvience function
returning the qualified name as a string and simplify the code
accordingly.
Pick-to: 6.9
Change-Id: I071e8dc3f65257e300007d53688c442a683813e1
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'examples/scriptableapplication/pythonutils.cpp')
0 files changed, 0 insertions, 0 deletions