Qt 6.11 is out! See what's new in the release
blog
setSortCaseSensitivity doesn't work
General and Desktop
5
Posts
2
Posters
2.7k
Views
2
Watching
-
I have no idea why, but with this code the table sorting is still case sensitive
QSortFilterProxyModel *proxyModel = new QSortFilterProxyModel(this);
proxyModel->setSortCaseSensitivity(Qt::CaseInsensitive);
proxyModel->setFilterFixedString(ui->lineEdit_search->text());
proxyModel->setFilterKeyColumn(1);
proxyModel->setSourceModel(model); -
Yes, i need to filter the model.I have lineEdit and want this input to filter the data
-
@mcosta
QSqlQueryModel