KDAB / cxx-qt

Safe interop between Rust and Qt
https://kdab.github.io/cxx-qt/book/
964 stars 66 forks source link

Split out structuring into its own phase #938

Open LeonMatthesKDAB opened 2 months ago

LeonMatthesKDAB commented 2 months ago

See #937

We want to avoid structuring while parsing, which leads to oddities like us having to parse all qobjects first, so we can add e.g. QEnums later.

So do this as its own phase before C++ generation, as we also probably don't need this for the Rust generation at all anyway.

What we need to associate: