tes are: virtual void QTableView::setModel(QAbstractItemModel*)
main.cpp: In function `int qMain(int, char**)':
main.cpp:28: error: `createConnection' undeclared (first use this function)
main.cpp:28: error: (Each undeclared identifier is reported only once for each function it appears in.)
main.cpp:31: error: `QSqlTableModel' undeclared (first use this function)
main.cpp:31: error: expected `;' before "model"
main.cpp:33: error: `model' undeclared (first use this function)
main.cpp:33: error: `initializeModel' cannot be used as a function
Partager