How to register singleton qml type using std::function as a callback?
Unsolved
General and Desktop
-
Hi All,
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.Thanks))