echowindow.pro Example File | Qt Widgets 5.12.6

Qt 5.12 | Qt Widgets | Echo Plugin Example | echowindow.pro Example File

Qt 5.12.6 Reference Documentation

# echowindow.pro Example File

tools/echoplugin/echowindow/echowindow.pro

      QT += widgets

      HEADERS    = echowindow.h \
                   echointerface.h
      SOURCES    = echowindow.cpp \
                   main.cpp

      TARGET     = echoplugin
      QMAKE_PROJECT_NAME = echopluginwindow
      win32 {
          CONFIG(debug, release|debug):DESTDIR = ../debug/
          CONFIG(release, release|debug):DESTDIR = ../release/
      } else {
          DESTDIR    = ../
      }

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/echoplugin
      INSTALLS += target

      CONFIG += install_ok  # Do not cargo-cult this!