The 3rd parameter to QTableWidget::setItem() needs to be a pointer to a QTableWidgetItem. You need to create the QTableWidgetItem on the heap using new, instead of on the stack.
eg:
Qt Code:
To copy to clipboard, switch view to plain text mode
The 3rd parameter to QTableWidget::setItem() needs to be a pointer to a QTableWidgetItem. You need to create the QTableWidgetItem on the heap using new, instead of on the stack.
eg:
Qt Code:
To copy to clipboard, switch view to plain text mode
arpspatel (16th October 2009)
Bookmarks