| 1 |
# Copyright (C) 2022 The Qt Company Ltd. |
| 2 |
# SPDX-License-Identifier: BSD-3-Clause |
| 3 |
|
| 4 |
##################################################################### |
| 5 |
## qsystemtrayicon Binary: |
| 6 |
##################################################################### |
| 7 |
|
| 8 |
qt_internal_add_manual_test(qsystemtrayicon |
| 9 |
GUI |
| 10 |
SOURCES |
| 11 |
main.cpp |
| 12 |
INCLUDE_DIRECTORIES |
| 13 |
. |
| 14 |
LIBRARIES |
| 15 |
Qt::Gui |
| 16 |
Qt::Widgets |
| 17 |
) |
| 18 |
|
| 19 |
# Resources: |
| 20 |
set(icons_resource_files |
| 21 |
"macsystray16x16.png" |
| 22 |
"macsystray18x18.png" |
| 23 |
"macsystray25x15.png" |
| 24 |
"macsystray32x32.png" |
| 25 |
"macsystray36x36.png" |
| 26 |
"macsystray50x30.png" |
| 27 |
"macsystray64x64.png" |
| 28 |
) |
| 29 |
|
| 30 |
qt_internal_add_resource(qsystemtrayicon "icons" |
| 31 |
PREFIX |
| 32 |
"/" |
| 33 |
FILES |
| 34 |
${icons_resource_files} |
| 35 |
) |