Connecting a C++ signal to a QML function seems to work fine if the QML function has no arguments.
But if the QML function has an argument, how can I connect a signal to it? What is the type of the argument? QVariant?
Thanks. Problem is, I need to connect the signal to the QML function from C++, since I don't know the name of the signal/function to connect until runtime.