How to write qml signal Variadic arguments
I want to write a qml signal that takes n QString arguments ( foo(QString, ...) which the slot will be on the CPP side.
As far as my knowledge of Qt goes, which is pretty decent, you can't ... and you shouldn't. If you want to send a number of
QStringList. A signal-slot connection is a bit more than a regular function call and variadic arguments can't be packed (when you have queued connections for example). Not to mention it's a type safety nightmare ...