I want to make function returning qsqlquerymodel like this:
i got the following error:Qt Code:
model->setQuery("SELECT ID, Name, Bulstat FROM partners"); return model; }To copy to clipboard, switch view to plain text mode
no viable conversion from 'QSqlQueryModel *' to 'QSqlQueryModel' return model;
Bookmarks