mapeditor/tiled

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Enabling the use of QML for Tiled extensions #4126

bjorn posted onGitHub

As of Tiled 1.11, extensions can be written in plain JavaScript files or as JavaScript modules. However, Tiled actually uses a QQmlEngine internally, which is able to load QML files as well.

See Next generation Tiled extensions for more information about this idea.

When the necessary libraries and plugins are available, Qt.createComponent can already be used to instantiate QML types. A nicer integration should be possible when Tiled recognizes QML files and creates QQmlComponent instances with those files and creates objects from them.


Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests