woboq / qmetaobject-rs

Integrate Qml and Rust by building the QMetaObject at compile time.
MIT License
620 stars 89 forks source link

Qvariant improvements #308

Closed direc85 closed 4 months ago

direc85 commented 4 months ago

In Whisperfish for example debug prints like this are now possible:

tracing::debug!(tracing::debug!("Attachment: {:?}", attachment);
// Attachment: {data: QVariant(QString: "/home/defaultuser/Downloads/test.md"), type: QVariant(QString: "text/markdown")}

Whisperfish!570 currently depends on this (but it can (barely) do without)