mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-24 04:20:46 +08:00
36 lines
757 B
CMake
36 lines
757 B
CMake
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
||
|
#####################################################################
|
||
|
## qsystemtrayicon Binary:
|
||
|
#####################################################################
|
||
|
|
||
|
qt_internal_add_manual_test(qsystemtrayicon
|
||
|
GUI
|
||
|
SOURCES
|
||
|
main.cpp
|
||
|
INCLUDE_DIRECTORIES
|
||
|
.
|
||
|
LIBRARIES
|
||
|
Qt::Gui
|
||
|
Qt::Widgets
|
||
|
)
|
||
|
|
||
|
# Resources:
|
||
|
set(icons_resource_files
|
||
|
"macsystray16x16.png"
|
||
|
"macsystray18x18.png"
|
||
|
"macsystray25x15.png"
|
||
|
"macsystray32x32.png"
|
||
|
"macsystray36x36.png"
|
||
|
"macsystray50x30.png"
|
||
|
"macsystray64x64.png"
|
||
|
)
|
||
|
|
||
|
qt_internal_add_resource(qsystemtrayicon "icons"
|
||
|
PREFIX
|
||
|
"/"
|
||
|
FILES
|
||
|
${icons_resource_files}
|
||
|
)
|