blob: 555a019c94338f454ca50757b850f5ec88d3d4c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
set(CMAKE_INCLUDE_CURRENT_DIR ON)
qt_internal_add_manual_test(surfacetest
GUI
SOURCES
buttonwrapper.cpp buttonwrapper.h
checkboxwrapper.cpp checkboxwrapper.h
graphmodifier.cpp graphmodifier.h
main.cpp
)
target_link_libraries(surfacetest PUBLIC
Qt::Gui
Qt::Widgets
Qt::DataVisualization
)
set_source_files_properties("Heightmap.png"
PROPERTIES QT_RESOURCE_ALIAS "map"
)
set_source_files_properties("mapimage.png"
PROPERTIES QT_RESOURCE_ALIAS "mapimage"
)
set(surfacetest_resource_files
"Heightmap.png"
"mapimage.png"
)
qt_internal_add_resource(surfacetest "surfacetest"
PREFIX
"/maps"
FILES
${surfacetest_resource_files}
)
|