Re: [Interest] Function overload and QML

2015-02-28 Thread Arthur Buldauskas
Hey, not sure if you solved your problem by now, but here is one solution. I've notice you are trying to pass a string. If you change the const QVariant& to a const QString& parameter it will call the proper overloaded function for you. On Mon, Feb 16, 2015 at 7:17 AM, Federico Buti wrote: > Ok.

Re: [Interest] Function overload and QML

2015-02-16 Thread Federico Buti
Ok...sorry for the spam. I've just noticed this sentence in the documentation QVariantList and QVariantMap to JavaScript Array and Object : [...] Similarly, if a C++ type uses a QVariantList