systray.pro Example File | Qt Widgets 5.6

Qt 5.6 | Qt Widgets | System Tray Icon Example | systray.pro Example File

Qt 5.6.2 Reference Documentation

# systray.pro Example File

desktop/systray/systray.pro

      HEADERS       = window.h
      SOURCES       = main.cpp \
                      window.cpp
      RESOURCES     = systray.qrc

      QT += widgets

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/widgets/desktop/systray
      INSTALLS += target