Error: invalid use of incomplete type "class QDockWidget"
-
1st time using dockWidget
Error: invalid use of incomplete type "class QDockWidget"@
#include <QtGui>
#include <QMainWindow>QDockWidget* dockwidget = new QDockWidget(this);
dockwidget->setAllowAreas(Qt::LeftDockWidgetArea| Qt::RightDockWidgetArea);
dockwidget->setWidget(docWidgetContents);
addDockWidget(Qt::LeftDockWidgetArea,dockwidget);@
-
Hi,
Do you mean put it in the Qt::BottomDockWidgetArea ?