[Qtscript-bindings] QtScript + QSqlQuery error

Thomas Hammer thammer at sim.no
Tue Oct 7 14:19:38 CEST 2008


Seb Ruiz wrote:
> 
>       Script Error: "21:39:02 Error: QFile::bindValue(): could not find a
> function match; candidates are:
>       bindValue(String placeholder, Object val, ParamType type)
>       bindValue(int pos, Object val, ParamType type) on Line: -1"

Try this:

query["bindValue(String, Object, ParamType)"](":rpath", url, QSql.In);

I haven't tested that this works, I'm just guessing.

Regards,
Thomas



More information about the Qtscript-bindings mailing list