pointer to incomplete class type “QHeaderView” is not allowed
I have a QTableView and QStandardItemModel and I have got 3 columns. I want that one column adjust itself when I change the size of the main window. But I get following error:
“pointer to incomplete class type “QHeaderView” is not allowed”