Here is the documentation for the invokeMethod function.
So if I pass a string or QString type as argument, then it works. But is it possible to pass a list, vector or array of QString as argument?
P.S: The argument has to be a type of QGenericArgument and I have to use the Q_ARG macro to create the QGenericArgument object.