Qt 5.9 | Qt Widgets | Embedded Dialogs | embeddeddialogs.pro Example File

Qt 5.9.9 Reference Documentation

# embeddeddialogs.pro Example File

graphicsview/embeddeddialogs/embeddeddialogs.pro

      QT += widgets

      SOURCES += main.cpp
      SOURCES += customproxy.cpp embeddeddialog.cpp
      HEADERS += customproxy.h embeddeddialog.h

      FORMS += embeddeddialog.ui
      RESOURCES += embeddeddialogs.qrc

      build_all:!build_pass {
          CONFIG -= build_all
          CONFIG += release
      }

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview/embeddeddialogs
      INSTALLS += target