I am learning QtScript and wrote several trivial examples. The mapping is straightforward if I limit arguments to simple types.
I now want to be able to pass variable number of arguments from QtScript to the C++ class, such as
Myobject.add(1, 2, 3, "4444");
Myobject.add( {first:1, second:2, third:333} );
How to declare the method in the C++ implement?