blob: bfbff79ebf676e990eea941e54fc46883695c929 (
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
|
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
if (NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
cmake_minimum_required(VERSION 3.16)
project(customdialogs LANGUAGES CXX)
find_package(Qt6BuildInternals COMPONENTS STANDALONE_TEST)
endif()
qt_internal_add_manual_test(customdialogs
SOURCES main.cpp server.cpp server.h
)
set_target_properties(customdialogs PROPERTIES
WIN32_EXECUTABLE TRUE
MACOSX_BUNDLE TRUE
)
target_link_libraries(customdialogs PUBLIC
Qt::Core
Qt::Gui
Qt::WebEngineQuick
)
set(customdialogs_resource_files
"MessageRectangle.qml"
"SwitchButton.qml"
"WebView.qml"
"forms/Authentication.qml"
"forms/AuthenticationForm.ui.qml"
"forms/ColorCell.qml"
"forms/ColorPicker.qml"
"forms/ColorPickerForm.ui.qml"
"forms/CustomButton.qml"
"forms/FilePicker.qml"
"forms/FilePickerForm.ui.qml"
"forms/FileRow.qml"
"forms/JavaScript.qml"
"forms/JavaScriptForm.ui.qml"
"forms/Menu.qml"
"forms/MenuForm.ui.qml"
"forms/TouchSelectionMenu.qml"
"forms/TouchSelectionMenuForm.ui.qml"
"icon.svg"
"index.html"
"main.qml"
"style.css"
)
qt_add_resources(customdialogs "customdialogs"
PREFIX
"/"
FILES
${customdialogs_resource_files}
)
|