2022-07-05 11:26:52 +00:00
|
|
|
# Copyright (C) 2022 The Qt Company Ltd.
|
2022-08-19 13:21:34 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2022-07-05 11:26:52 +00:00
|
|
|
|
2019-11-12 13:01:48 +00:00
|
|
|
#####################################################################
|
|
|
|
## qsystemtrayicon Binary:
|
|
|
|
#####################################################################
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_add_manual_test(qsystemtrayicon
|
2019-11-12 13:01:48 +00:00
|
|
|
GUI
|
|
|
|
SOURCES
|
|
|
|
main.cpp
|
|
|
|
INCLUDE_DIRECTORIES
|
|
|
|
.
|
2022-07-25 15:50:38 +00:00
|
|
|
LIBRARIES
|
2019-11-12 13:01:48 +00:00
|
|
|
Qt::Gui
|
|
|
|
Qt::Widgets
|
|
|
|
)
|
|
|
|
|
|
|
|
# Resources:
|
|
|
|
set(icons_resource_files
|
|
|
|
"macsystray16x16.png"
|
|
|
|
"macsystray18x18.png"
|
|
|
|
"macsystray25x15.png"
|
|
|
|
"macsystray32x32.png"
|
|
|
|
"macsystray36x36.png"
|
|
|
|
"macsystray50x30.png"
|
|
|
|
"macsystray64x64.png"
|
|
|
|
)
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_add_resource(qsystemtrayicon "icons"
|
2019-11-12 13:01:48 +00:00
|
|
|
PREFIX
|
|
|
|
"/"
|
|
|
|
FILES
|
|
|
|
${icons_resource_files}
|
|
|
|
)
|