Qt 5.11 | Qt Widgets | SDI Example | sdi.pro Example File

Qt 5.11.3 Reference Documentation

# sdi.pro Example File

mainwindows/sdi/sdi.pro

      QT += widgets
      requires(qtConfig(filedialog))

      HEADERS       = mainwindow.h
      SOURCES       = main.cpp \
                      mainwindow.cpp
      RESOURCES     = sdi.qrc

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