Qt 6.11 is out! See what's new in the release
blog
[Solved] How to show result of QSqlQuery
General and Desktop
3
Posts
2
Posters
2.1k
Views
1
Watching
-
I get right output on console from QSqlQuery but how to show it on the dialog?
This works but how to show the result like in QTableView?
@ QSqlQuery query;
query.exec(QString("SELECT * FROM bookmark"));query.first(); while (query.next()){ QString tag = query.value(1).toString(); qDebug() << qPrintable(tag); }@
-
Hi,
You can use a QSqlQueryModel