summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/dialogs/CMakeLists.txt
blob: 1c74883554eac596ec75b88f1a4b03551a9ab345 (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
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

include(../../httpserver/httpserver.cmake)
include(../../util/util.cmake)

qt_internal_add_test(tst_dialogs
    SOURCES
        testhandler.cpp testhandler.h
        tst_dialogs.cpp
    LIBRARIES
        Qt::CorePrivate
        Qt::WebEngineQuickPrivate
        Test::HttpServer
        Test::Util
)

set(dialogs_resource_files
    "WebView.qml"
    "index.html"
)

qt_internal_add_resource(tst_dialogs "dialogs"
    PREFIX
        "/"
    FILES
        ${dialogs_resource_files}
)