May be you need to write: ui->sqlTable->setModel(&model); -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100313/64588925/attachment.html