Code:
Qt Code:
QSqlQuery query; query.exec("{CALL syllabi_output}"); model->setQuery(query); ui->tableView_4->setModel(model); //debug query.first(); qDebug() << query.value(0).toString(); //debugTo copy to clipboard, switch view to plain text mode
Debug shows the correct values though.
Bookmarks