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

Qt 5.11.3 Reference Documentation

# dockwidgets.pro Example File

mainwindows/dockwidgets/dockwidgets.pro

      QT += widgets
      requires(qtConfig(listwidget))
      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