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

Qt 5.6.2 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