Could you check what is the type of the variant returned by boundValue()? I'd suggest using bindValue() version that uses placeholder names instead of indexes, there is a chance it will start working.