My problem is this. I have lists of different numeric types, for example:
QList<qreal> mylist;
Now, in my code I have a function that that expects a QVariant argument which is mylist. The only way I've found to do this is by using a for cyle and simply adding all of the data in mylist to second list
QList<QVariant> temp,
for example, and passing temp as a paramter.
I was wondering if there was any other way to do this.
Thank you very much.