Skip to content

Feature Request: Support complex types (nested objects, dictionaries, lists, and enums) as properties #5

Closed

Description

@Theneillsaaco

Description

Is your feature request related to a problem? Please describe.
Complex types (such as lists inside lists, dictionaries, nested POCOs, and enums) are currently not usable directly from QML. As a workaround, I have to serialize them into JSON strings and parse them using JSON.parse in QML for structures like:

  • HomeJson (shelves containing items)
  • TokensJson (49 color roles)
  • StringsJson (translation tables)
  • LikedJson (list of IDs)
    Enums also currently get converted to strings ("synced", "signedIn").

Steps to reproduce

.

Expected behavior

Describe the solution I'd like
Native support for IReadOnlyList<T>, Dictionary<string, T>, nested POCOs, and enums as properties across the bridge

Actual behavior

.

Qt Bridge for C# version

TP (C#)

Qt version

6.12

.NET SDK version

10

Operating system and architecture

No response

Tooling

No response

Logs

Activity

  1. added
    jiraTriaged; adding this label moves the issue to the Qt bug tracker and closes it
    on Nov 12, 2026
  2. github-actions commented on Nov 12, 2026

    @github-actions

    Thank you for the report. It is now tracked as QTBRIDGES-462 in the Qt bug tracker. Please follow up there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingjiraTriaged; adding this label moves the issue to the Qt bug tracker and closes it

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions