Details
Description
The code generated for a QFlag that is inside of a "no" generated namespace does not compile.
Unit test attached ( 0001-Unit-test-for-QFlags-on-hidden-namespace.patch ).
error: ‘Sbktestbinding_FlagsNamespace_Option_number_slots’ was not declared in this scope 523 | LAGS_FLAGSNAMESPACE_OPTION_IDX] = PySide::QFlags::create("1:testbinding.Options", Sbktestbinding_FlagsNamespace_Option_number_slots);
Attachments
Issue Links
- resulted from
-
PYSIDE-1074 Shiboken generate wrong type names (including namespaces that are marked as generate="no')
- Closed
For Gerrit Dashboard: PYSIDE-1326 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
315815,7 | Generate flags operator methods for QFlags on hidden top level namespace | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
315851,2 | Fix up the generated flag operator methods | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |