Qt 5.9 | Qt Widgets | Dock Widgets Example | dockwidgets.pro Example File

Qt 5.9.9 Reference Documentation

# dockwidgets.pro Example File

mainwindows/dockwidgets/dockwidgets.pro

      QT += widgets
      qtHaveModule(printsupport): QT += printsupport

      HEADERS         = mainwindow.h
      SOURCES         = main.cpp \
                        mainwindow.cpp
      RESOURCES       = dockwidgets.qrc

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/widgets/mainwindows/dockwidgets
      INSTALLS += target