Skip to content

Is editing QML files in QtCreator's graphical editor supported? #293

@andrew-otiv

Description

@andrew-otiv

I would like to be able to edit .qml files using qt's GUI tools. My understanding is that the intended way of using qmetaobject-rs is to always create a custom type from rust, register it with the QML engine, and hook it up to the rest of the GUI using signals, setters, etc...

However, when I try to load any of the qmetaobject-rs example qml files in QtCreator's Design mode, I get errors on the custom types similar to:

image

Do I just need to configure an import path somewhere, or is it currently impossible to use qmetaobject-rs and the gui tools together?

This is a possible duplicate of #242. I'm not sure if that ticket is limited to "Plugins", or if it's the same issue of QtCreator being unaware of any metadata that comes from the rust code.

Thanks!
Andrew

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-discussionCategory: Discussion or questions that doesn't represent real issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions