summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/certificateerror/CMakeLists.txt
blob: 4fe350978c98ec2a26e9830e71b396cd0a53a31e (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
include(../../httpserver/httpserver.cmake)
include(../../util/util.cmake)

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

set(certificateerror_resource_files
    "resources/cert.pem"
    "resources/key.pem"
    "WebView.qml"
)

qt_add_resource(tst_certificateerror_quick "certificateerror"
    PREFIX
        "/"
    FILES
        ${certificateerror_resource_files}
)