QSqlTableModel, filter and spec. characters

  • I'm using exisiting SQLITE database and QSqlTableModel. My database tables have "special and latin characters" (č,ć.đ...), and select() return it all, but with setFilter() I have some problems. I read somewhere special characters are case-insensitive in filter. What to do with it?


    title: ČEHOV

    sqlModel->setFilter("title LIKE '%č%'") // resault:

    sqlModel->setFilter("title LIKE '%Č%'") // resault: ČEHOV

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.