CMakeLists.txt 1.73 KB
Newer Older
Laurent Montel's avatar
Laurent Montel committed
1
2
3
4
5
6
7
set(webengine_test_SRCS
    testwebengine.cpp
    )

add_executable(webenginetest ${webengine_test_SRCS}) 

target_link_libraries(webenginetest
Laurent Montel's avatar
Laurent Montel committed
8
    Qt5::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets
Laurent Montel's avatar
Laurent Montel committed
9
10
11
12
13
14
15
16
17
18
    )

#####
set(webenginescript_test_SRCS
    testwebenginescript.cpp
    )

add_executable(webenginescripttest ${webenginescript_test_SRCS})

target_link_libraries(webenginescripttest
Laurent Montel's avatar
Laurent Montel committed
19
    Qt5::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets
Laurent Montel's avatar
Laurent Montel committed
20
21
    )

22
23
24
25
26
27
28
29
30
31
####
set(selectedtextwebengine_test_SRCS
    testselectedtextwebengine.cpp
    )

add_executable(selectedtextwebenginetest ${selectedtextwebengine_test_SRCS})

target_link_libraries(selectedtextwebenginetest
    Qt5::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets
    )
Laurent Montel's avatar
Laurent Montel committed
32
33


Laurent Montel's avatar
Laurent Montel committed
34
35
36
37
38
39
40
41
42
set(testdndwebengine_test_SRCS
    testdndwebengine.cpp
    )

add_executable(testdndwebenginetest ${testdndwebengine_test_SRCS})

target_link_libraries(testdndwebenginetest
    Qt5::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets
    )
43
44
45
46
47
48
49
50
51
52
53
54

#####

set(testselectionchangedwebengine_test_SRCS
    testselectionchangedwebengine.cpp
    )
add_executable(testselectionchangedwebengine ${testselectionchangedwebengine_test_SRCS})

target_link_libraries(testselectionchangedwebengine
    Qt5::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets KF5::XmlGui KF5::IconThemes KF5::MessageViewer
    )

55
56
57
58
####
set(testwebengineviewinterceptor_test_SRCS
    testwebengineviewinterceptor.cpp
    )
Laurent Montel's avatar
Laurent Montel committed
59
60
qt5_add_resources(testwebengineviewinterceptor_test_SRCS testwebengineviewinterceptor.qrc)

61
62
63
64
65
66
add_executable(testwebengineviewinterceptor ${testwebengineviewinterceptor_test_SRCS})

target_link_libraries(testwebengineviewinterceptor
    Qt5::Widgets Qt5::WebEngineWidgets 
    )