Hi,

I'm trying to create a splitter between a QTabWidget and a QDockWidget.
I want the QDockWidget to keep a fixed height while resizing, but the splitter should of course remain functional.

I found that I should use setResizeMode, so I put:

Qt Code:
  1. this->UI->setResizeMode(this->UI->dockWidget, QSplitter::KeepSize);
To copy to clipboard, switch view to plain text mode 

However I get the error that QSplitter::KeepSize is not a member of QSplitter.

(QT + CMake setup, using QTDesigner)

Anyone have a solution?

Thanks.