Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to register singleton qml type using std::function as a callback?
diredko last edited by
Is there a way to register singleton qml type using std::function for a callback? if it is not, are there any particular reasons for not allowing this or it is just not implemented yet.
In qt documentation I could only find qmlRegisterSingletonType variant which takes function pointer for a callback.