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

Qt 5.11.3 Reference Documentation

# embeddeddialogs.pro Example File

graphicsview/embeddeddialogs/embeddeddialogs.pro

      QT += widgets
      requires(qtConfig(fontcombobox))

      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