Skip to content

New function registration syntax

Compare
Choose a tag to compare
@barche barche released this 12 Aug 12:28

This adds a function to register functions:

qmlfunction("unexported_foo", MyModule.unexported_foo)

The existing @qmlfunction macro also remains for functions that are in-scope and can have the same name in QML.