Hi all.

I am trying to set tabs on top when QDockWidgets are tabified. However, if I use QtCreator and generate a widget project, I don't have access to setTabPosition.

In the examples, provided by Qt (dockwindgets.pro), I can access the setTabPosition method but compiler returns:

ui->setTabPosition(Qt::DockWidgetArea::TopDockWidgetA rea, QTabWidget::TabPosition::North);

Qt::DockWidgetArea::TopDockWidgetArea is not a class or namespace
QTabWidget::TabPosition is not a class or namespace.

Thanks.