[Qtscript-bindings] QtScript + QSqlQuery error

Seb Ruiz ruiz at kde.org
Wed Oct 8 13:53:05 CEST 2008


2008/10/7 Thomas Hammer <thammer at sim.no>:
> 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.

Same problem unfortunately :(

>
> Regards,
> Thomas
>
>



-- 
Seb Ruiz

http://www.sebruiz.net/
http://amarok.kde.org/


More information about the Qtscript-bindings mailing list