vioken / waylib

A wrapper for wlroots based on Qt
46 stars 23 forks source link

WQmlCreator requires WQmlEngine #393

Closed justforlxz closed 3 months ago

justforlxz commented 3 months ago

WQmlCreator has the ability to execute qml js methods, but WQmlCreator is not a child of QmlEngine, so the previous qmlEngine method will not be available. For this reason, the helper is manually registered as a QML singleton object.