Skip to content

Support documenting the generated C++ code #636

Open
@LeonMatthesKDAB

Description

@LeonMatthesKDAB

We should consider supporting user documentation on the generated C++.

So if someone writes:

#[cxx_qt::bridge]
mod qobject {
    extern "RustQt" {
         /// A documentation comment
         #[qinvokable]
         fn my_invokable(self: &MyObject);   
    }
}

The A documentation comment should be exported as a Doxygen-compatible documentation comment into the generated C++ code.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions