systray.pro Example Filedesktop/systray/systray.pro HEADERS = window.h
SOURCES = main.cpp \
window.cpp
RESOURCES = systray.qrc
QT += widgets
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/desktop/systray
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS systray.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/desktop/systray
INSTALLS += target sources
simulator: warning(This example might not fully work on Simulator platform)
|