mdi.pro Example File | Qt Widgets 5.12.12

- Qt 5.12
- Qt Widgets
- MDI Example
- mdi.pro Example File
- Qt 5.12.12 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