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