How to register singleton qml type using std::function as a callback?



  • 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))


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.