Qt 5.6 | Qt Widgets | MDI Example | mdi.pro Example File

Qt 5.6.2 Reference Documentation

# mdi.pro Example File

mainwindows/mdi/mdi.pro

      QT += widgets

      HEADERS       = mainwindow.h \
                      mdichild.h
      SOURCES       = main.cpp \
                      mainwindow.cpp \
                      mdichild.cpp
      RESOURCES     = mdi.qrc

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