[Qt-interest] QtScript: TypeError: ambiguous call of overloaded function

Wilhelm wilhelm.meier at fh-kl.de
Fri Feb 11 07:33:25 CET 2011


Hi all,

I have a QObject exposing the two overloaded methods click() (see below)
to the QtScript engine. If I want to call them with an argument of type
Match I get the following:

"TypeError: ambiguous call of overloaded function click(); candidates were
    click(Match)
    click(QList<Match>)"

What's wrong here?

-- 
Wilhelm




More information about the Qt-interest-old mailing list