blob: ef84018d5c2223cf72d0269568303b760d5fa382 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
cmake_minimum_required(VERSION 3.16)
if (NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
project(testbench LANGUAGES C CXX)
find_package(Qt6BuildInternals COMPONENTS STANDALONE_TEST)
endif()
find_package(Qt6 REQUIRED COMPONENTS
Core CorePrivate Gui Qml Quick QuickControls2 QuickControls2Private)
qt_standard_project_setup(REQUIRES 6.8)
qt_internal_add_manual_test(testbench
GUI
SOURCES
main.cpp
LIBRARIES
Qt::Core
Qt::CorePrivate
Qt::Gui
Qt::Qml
Qt::Quick
Qt::QuickControls2
Qt::QuickControls2Private
)
target_compile_definitions(testbench PRIVATE
APP_SOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}"
)
qt_add_qml_module(testbench
URI Testbench
SOURCES
assetfixer.cpp
assetfixer.h
clipboard.cpp
clipboard.h
directoryvalidator.cpp
directoryvalidator.h
utils.cpp
utils.h
QML_FILES
"+Imagine/ContentPane.qml"
"+Imagine/MainWindow.qml"
"+Imagine/TestbenchDialog.qml"
"+Imagine/TestbenchMenu.qml"
"+Imagine/TestbenchToolBar.qml"
"ColorEditor.qml"
"ContentPane.qml"
"ControlContainer.qml"
"ExampleContainer.qml"
"Main.qml"
"MainWindow.qml"
"SettingsDialog.qml"
"TestbenchDialog.qml"
"TestbenchMenu.qml"
"TestbenchToolBar.qml"
"controls/BusyIndicator.qml"
"controls/Button.qml"
"controls/CheckBox.qml"
"controls/CheckDelegate.qml"
"controls/ComboBox.qml"
"controls/DelayButton.qml"
"controls/Dial.qml"
"controls/Dialog.qml"
"controls/DoubleSpinBox.qml"
"controls/Frame.qml"
"controls/GroupBox.qml"
"controls/ItemDelegate.qml"
"controls/Label.qml"
"controls/Menu.qml"
"controls/MenuBar.qml"
"controls/Page.qml"
"controls/PageIndicator.qml"
"controls/Pane.qml"
"controls/ProgressBar.qml"
"controls/RadioButton.qml"
"controls/RadioDelegate.qml"
"controls/RangeSlider.qml"
"controls/RoundButton.qml"
"controls/ScrollBar.qml"
"controls/ScrollIndicator.qml"
"controls/SearchField.qml"
"controls/Slider.qml"
"controls/SpinBox.qml"
"controls/SplitView.qml"
"controls/SwipeDelegate.qml"
"controls/Switch.qml"
"controls/SwitchDelegate.qml"
"controls/TabBar.qml"
"controls/TextArea.qml"
"controls/TextField.qml"
"controls/ToolBar.qml"
"controls/ToolTip.qml"
"controls/Tumbler.qml"
RESOURCES
"qtquickcontrols2.conf"
"fonts/fontello.ttf"
)
|