Hello,
I have the following piece of code which works fine in Qt 4.8.6 and 5.6.2, but fails in Qt-5.8. I was trying to make the Item not selectable, but boolean fails in Qt-5.8
newItem1->setFlags(not Qt::ItemIsSelectable);
QTableWidgetItem *newItem1 = new QTableWidgetItem("");
newItem1->setFlags(not Qt::ItemIsSelectable);
To copy to clipboard, switch view to plain text mode
Error is
no matching function for call to 'QTableWidgetItem::setFlags(bool)'
no matching function for call to 'QTableWidgetItem::setFlags(bool)'
To copy to clipboard, switch view to plain text mode
Thanks
Bookmarks