Commit b48de570 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: use Qt:: everywhere

parent 87599851
Pipeline #62283 skipped
......@@ -8,7 +8,7 @@ macro(add_messagecore_test _source )
add_definitions(-DKDESRCDIR="${CMAKE_CURRENT_SOURCE_DIR}")
ecm_add_test(${_source}
NAME_PREFIX "messagecore-"
LINK_LIBRARIES Qt::Test KF5::Libkleo KF5::MessageCore Qt5::Widgets KF5::Archive KF5::Completion KF5::ConfigCore KF5::CoreAddons
LINK_LIBRARIES Qt::Test KF5::Libkleo KF5::MessageCore Qt::Widgets KF5::Archive KF5::Completion KF5::ConfigCore KF5::CoreAddons
)
endmacro()
......
......@@ -32,7 +32,7 @@ macro(add_messageviewer_mailsourceviewbrowserwidget_unittest _source)
ecm_add_test(${_source} ../src/widgets/mailsourceviewtextbrowserwidget.cpp ../src/findbar/findbarsourceview.cpp ${test_libmessageviewer_SRCS}
TEST_NAME ${_name}
NAME_PREFIX "messageviewer-"
LINK_LIBRARIES Qt::Test Qt5::Gui Qt5::Widgets KF5::KIOCore KF5::Mime KF5::AkonadiCore KF5::CalendarCore KF5::PimTextEdit KF5::PimCommon KF5::MessageViewer KF5::WebEngineViewer KF5::SyntaxHighlighting KF5::I18n KF5::IconThemes
LINK_LIBRARIES Qt::Test Qt::Gui Qt::Widgets KF5::KIOCore KF5::Mime KF5::AkonadiCore KF5::CalendarCore KF5::PimTextEdit KF5::PimCommon KF5::MessageViewer KF5::WebEngineViewer KF5::SyntaxHighlighting KF5::I18n KF5::IconThemes
)
endmacro ()
......
ecm_add_test(webengineembedparttest.cpp ../webengineembedpart.cpp
TEST_NAME webengineembedparttest
NAME_PREFIX "messageviewer-webengine-"
LINK_LIBRARIES Qt::Test Qt5::Core
LINK_LIBRARIES Qt::Test Qt::Core
)
......@@ -37,5 +37,5 @@ ecm_add_test(showonlymimeparttest.cpp setupenv.cpp util.cpp testcsshelper.cpp
ecm_add_test(converthtmltoplaintexttest.cpp ../converthtmltoplaintext.cpp
TEST_NAME converthtmltoplaintexttest
NAME_PREFIX "messageviewer-messageparttheme-"
LINK_LIBRARIES Qt::Test KF5::PimTextEdit Qt5::Gui
LINK_LIBRARIES Qt::Test KF5::PimTextEdit Qt::Gui
)
......@@ -7,5 +7,5 @@ ecm_add_test(scamattributetest.cpp ../scamattribute.cpp
ecm_add_test(scamdetectionwebenginetest.cpp
TEST_NAME scamdetectionwebenginetest
NAME_PREFIX "messageviewer-scamwebenginedetection-"
LINK_LIBRARIES KF5::MessageViewer Qt::Test Qt5::WebEngine Qt5::WebEngineWidgets
LINK_LIBRARIES KF5::MessageViewer Qt::Test Qt::WebEngine Qt::WebEngineWidgets
)
......@@ -7,7 +7,7 @@ set(scrolladdattachment_test_SRCS
add_executable(scrolladdattachmenttest ${scrolladdattachment_test_SRCS})
target_link_libraries(scrolladdattachmenttest
Qt::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets KF5::XmlGui KF5::IconThemes KF5::MessageViewer
Qt::Widgets KF5::WebEngineViewer Qt::WebEngine Qt::WebEngineWidgets KF5::XmlGui KF5::IconThemes KF5::MessageViewer
)
####
......@@ -18,7 +18,7 @@ set(testmailwebengine_test_SRCS
add_executable(testmailwebengine ${testmailwebengine_test_SRCS})
target_link_libraries(testmailwebengine
Qt::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets KF5::XmlGui KF5::IconThemes KF5::MessageViewer Qt5::PrintSupport KF5::I18n
Qt::Widgets KF5::WebEngineViewer Qt::WebEngine Qt::WebEngineWidgets KF5::XmlGui KF5::IconThemes KF5::MessageViewer Qt::PrintSupport KF5::I18n
)
#####
......@@ -29,7 +29,7 @@ target_link_libraries(testmailwebengine
#add_executable(testwebengineaccesskey ${testwebengineaccesskey_test_SRCS})
#target_link_libraries(testwebengineaccesskey
# Qt::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets KF5::MessageViewer
# Qt::Widgets KF5::WebEngineViewer Qt::WebEngine Qt::WebEngineWidgets KF5::MessageViewer
# )
####
......@@ -40,7 +40,7 @@ set(testmailwebengineselection_test_SRCS
add_executable(testmailwebengineselection ${testmailwebengineselection_test_SRCS})
target_link_libraries(testmailwebengineselection
Qt::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets KF5::XmlGui KF5::IconThemes KF5::MessageViewer
Qt::Widgets KF5::WebEngineViewer Qt::WebEngine Qt::WebEngineWidgets KF5::XmlGui KF5::IconThemes KF5::MessageViewer
)
######
......@@ -50,7 +50,7 @@ set(testmaildndattachment_test_SRCS
add_executable(testmaildndattachment ${testmaildndattachment_test_SRCS})
target_link_libraries(testmaildndattachment
Qt::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets KF5::XmlGui KF5::IconThemes KF5::MessageViewer
Qt::Widgets KF5::WebEngineViewer Qt::WebEngine Qt::WebEngineWidgets KF5::XmlGui KF5::IconThemes KF5::MessageViewer
)
#####
......@@ -61,5 +61,5 @@ set(testmailmboxwebengine_test_SRCS
add_executable(testmailmboxwebengine ${testmailmboxwebengine_test_SRCS})
target_link_libraries(testmailmboxwebengine
Qt::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets KF5::XmlGui KF5::IconThemes KF5::MessageViewer
Qt::Widgets KF5::WebEngineViewer Qt::WebEngine Qt::WebEngineWidgets KF5::XmlGui KF5::IconThemes KF5::MessageViewer
)
......@@ -84,5 +84,5 @@ ecm_add_test(backoffmodemanagertest.cpp ${testwebengineviewer_webengine_common_S
ecm_add_test(downloadlocaldatabasethreadtest.cpp ${testwebengineviewer_webengine_common_SRCS}
TEST_NAME downloadlocaldatabasethreadtest
NAME_PREFIX "webengineview-"
LINK_LIBRARIES Qt::Test Qt5::Network KF5::WebEngineViewer
LINK_LIBRARIES Qt::Test Qt::Network KF5::WebEngineViewer
)
ecm_add_test(findbarbasetest.cpp
TEST_NAME findbarbasetest
NAME_PREFIX "webengineviewer-findbar-"
LINK_LIBRARIES KF5WebEngineViewer Qt::Test Qt5::Widgets Qt5::Gui KF5::Completion KF5::I18n KF5::ConfigWidgets KF5::PimCommon
LINK_LIBRARIES KF5WebEngineViewer Qt::Test Qt::Widgets Qt::Gui KF5::Completion KF5::I18n KF5::ConfigWidgets KF5::PimCommon
)
set_property(TARGET findbarbasetest PROPERTY INCLUDE_DIRECTORIES ${CMAKE_SOURCE_DIR}/webengineviewer ${CMAKE_BINARY_DIR}/webengineviewer/src)
......@@ -5,7 +5,7 @@ set(webengine_test_SRCS
add_executable(webenginetest ${webengine_test_SRCS})
target_link_libraries(webenginetest
Qt::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets
Qt::Widgets KF5::WebEngineViewer Qt::WebEngine Qt::WebEngineWidgets
)
#####
......@@ -16,7 +16,7 @@ set(webenginescript_test_SRCS
add_executable(webenginescripttest ${webenginescript_test_SRCS})
target_link_libraries(webenginescripttest
Qt::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets
Qt::Widgets KF5::WebEngineViewer Qt::WebEngine Qt::WebEngineWidgets
)
####
......@@ -27,7 +27,7 @@ set(selectedtextwebengine_test_SRCS
add_executable(selectedtextwebenginetest ${selectedtextwebengine_test_SRCS})
target_link_libraries(selectedtextwebenginetest
Qt::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets
Qt::Widgets KF5::WebEngineViewer Qt::WebEngine Qt::WebEngineWidgets
)
......@@ -38,7 +38,7 @@ set(testdndwebengine_test_SRCS
add_executable(testdndwebenginetest ${testdndwebengine_test_SRCS})
target_link_libraries(testdndwebenginetest
Qt::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets
Qt::Widgets KF5::WebEngineViewer Qt::WebEngine Qt::WebEngineWidgets
)
#####
......@@ -49,7 +49,7 @@ set(testselectionchangedwebengine_test_SRCS
add_executable(testselectionchangedwebengine ${testselectionchangedwebengine_test_SRCS})
target_link_libraries(testselectionchangedwebengine
Qt::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets KF5::XmlGui KF5::IconThemes KF5::MessageViewer
Qt::Widgets KF5::WebEngineViewer Qt::WebEngine Qt::WebEngineWidgets KF5::XmlGui KF5::IconThemes KF5::MessageViewer
)
####
......@@ -64,6 +64,6 @@ set(testwebengineviewinterceptor_test_SRCS
add_executable(testwebengineviewinterceptor ${testwebengineviewinterceptor_test_SRCS})
target_link_libraries(testwebengineviewinterceptor
Qt::Widgets Qt5::WebEngineWidgets
Qt::Widgets Qt::WebEngineWidgets
)
......@@ -7,5 +7,5 @@ ecm_add_test(webengineaccesskeyanchortest.cpp ../webengineaccesskeyanchor.cpp .
ecm_add_test(webengineaccesskeyanchorfromhtmltest.cpp ../webengineaccesskeyanchor.cpp ../webengineaccesskeyutils.cpp
TEST_NAME webengineaccesskeyanchorfromhtmltest
NAME_PREFIX "messageviewer-webengine-"
LINK_LIBRARIES Qt::Test KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets
LINK_LIBRARIES Qt::Test KF5::WebEngineViewer Qt::WebEngine Qt::WebEngineWidgets
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment