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

Qt 5.11.3 Reference Documentation

# mdi.pro Example File

mainwindows/mdi/mdi.pro

      QT += widgets
      requires(qtConfig(filedialog))

      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