vendredi 22 janvier 2016

Encoding in Qt model-view. QSqlModel QListView

I read unicode data from QSqlite database and the data appears not properly in QListView. Where should I set the encoding? model, view or globally in Qt?

The only one thing coming in my mind is to set a delegate to the view and convert the data in the delegate.

Aucun commentaire:

Enregistrer un commentaire