Commit 674b0fe5 authored by Laurent Montel's avatar Laurent Montel
Browse files

Use Qt:: directly

parent 40e981db
Pipeline #218922 passed with stage
in 11 minutes and 5 seconds
......@@ -364,7 +364,7 @@ PRIVATE
KF5::ItemViews
KF5::SyntaxHighlighting
KF5::GuiAddons
Qt${QT_MAJOR_VERSION}::Xml
Qt::Xml
)
......
......@@ -5,7 +5,7 @@ macro(add_mailcommon_collectionpage_test _source)
ecm_add_test(${_source} ${_name}.h
TEST_NAME ${_name}
NAME_PREFIX "mailcommon-collectionpage-"
LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Test Qt${QT_MAJOR_VERSION}::Gui KF5::AkonadiCore KF5::MailCommon KF5::Completion
LINK_LIBRARIES Qt::Test Qt::Gui KF5::AkonadiCore KF5::MailCommon KF5::Completion
)
endmacro()
......
# SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: none
set(mailcommon_filter_test_LIBS Qt${QT_MAJOR_VERSION}::Test Qt${QT_MAJOR_VERSION}::Gui KF5::AkonadiCore KF5::AkonadiMime
set(mailcommon_filter_test_LIBS Qt::Test Qt::Gui KF5::AkonadiCore KF5::AkonadiMime
KF5::MailCommon KF5::PimCommon Phonon::phonon4qt${QT_MAJOR_VERSION}
KF5::KIOWidgets KF5::IconThemes KF5::TemplateParser
KF5::MailTransport KF5::I18n KF5::SyntaxHighlighting
......
......@@ -3,8 +3,8 @@
add_executable(filterimporterexportergui filterimporterexportergui.cpp)
ecm_mark_as_test(filterimporterexportergui)
target_link_libraries(filterimporterexportergui
Qt${QT_MAJOR_VERSION}::Core
Qt${QT_MAJOR_VERSION}::Gui
Qt::Core
Qt::Gui
KF5::MailCommon
KF5::I18n
)
......@@ -12,8 +12,8 @@ target_link_libraries(filterimporterexportergui
add_executable(invalidfilterdialoggui invalidfilterdialoggui.cpp)
ecm_mark_as_test(invalidfilterdialoggui)
target_link_libraries(invalidfilterdialoggui
Qt${QT_MAJOR_VERSION}::Core
Qt${QT_MAJOR_VERSION}::Gui
Qt::Core
Qt::Gui
KF5::MailCommon
KF5::I18n
)
......@@ -21,8 +21,8 @@ target_link_libraries(invalidfilterdialoggui
add_executable(kmfilterdialogtestgui kmfilterdialogtestgui.cpp ../../../autotests/dummykernel.cpp)
ecm_mark_as_test(kmfilterdialogtestgui)
target_link_libraries(kmfilterdialogtestgui
Qt${QT_MAJOR_VERSION}::Core
Qt${QT_MAJOR_VERSION}::Gui
Qt::Core
Qt::Gui
KF5::MailCommon
KF5::I18n
)
......@@ -30,8 +30,8 @@ target_link_libraries(kmfilterdialogtestgui
add_executable(filteractionmissingsoundurldialogui filteractionmissingsoundurldialogui.cpp ../../../autotests/dummykernel.cpp ../dialog/filteractionmissingsoundurldialog.cpp)
ecm_mark_as_test(filteractionmissingsoundurldialogui)
target_link_libraries(filteractionmissingsoundurldialogui
Qt${QT_MAJOR_VERSION}::Core
Qt${QT_MAJOR_VERSION}::Gui
Qt::Core
Qt::Gui
KF5::MailCommon
KF5::I18n
KF5::KIOWidgets
......@@ -40,8 +40,8 @@ target_link_libraries(filteractionmissingsoundurldialogui
add_executable(filteractionmissingtemplatedialoggui filteractionmissingtemplatedialoggui.cpp ../../../autotests/dummykernel.cpp ../dialog/filteractionmissingtemplatedialog.cpp)
ecm_mark_as_test(filteractionmissingtemplatedialoggui)
target_link_libraries(filteractionmissingtemplatedialoggui
Qt${QT_MAJOR_VERSION}::Core
Qt${QT_MAJOR_VERSION}::Gui
Qt::Core
Qt::Gui
KF5::MailCommon
KF5::I18n
KF5::Completion
......@@ -50,8 +50,8 @@ target_link_libraries(filteractionmissingtemplatedialoggui
add_executable(filteractionmissingtransportdialoggui filteractionmissingtransportdialoggui.cpp ../../../autotests/dummykernel.cpp ../dialog/filteractionmissingtransportdialog.cpp)
ecm_mark_as_test(filteractionmissingtransportdialoggui)
target_link_libraries(filteractionmissingtransportdialoggui
Qt${QT_MAJOR_VERSION}::Core
Qt${QT_MAJOR_VERSION}::Gui
Qt::Core
Qt::Gui
KF5::MailCommon
KF5::I18n
KF5::Completion
......@@ -61,8 +61,8 @@ target_link_libraries(filteractionmissingtransportdialoggui
add_executable(filteractionmissingaccountdialoggui filteractionmissingaccountdialoggui.cpp ../../../autotests/dummykernel.cpp ../dialog/filteractionmissingaccountdialog.cpp)
ecm_mark_as_test(filteractionmissingaccountdialoggui)
target_link_libraries(filteractionmissingaccountdialoggui
Qt${QT_MAJOR_VERSION}::Core
Qt${QT_MAJOR_VERSION}::Gui
Qt::Core
Qt::Gui
KF5::MailCommon
KF5::I18n
KF5::Completion
......@@ -71,8 +71,8 @@ target_link_libraries(filteractionmissingaccountdialoggui
add_executable(filteractionmissingtagdialoggui filteractionmissingtagdialoggui.cpp ../../../autotests/dummykernel.cpp ../dialog/filteractionmissingtagdialog.cpp)
ecm_mark_as_test(filteractionmissingtagdialoggui)
target_link_libraries(filteractionmissingtagdialoggui
Qt${QT_MAJOR_VERSION}::Core
Qt${QT_MAJOR_VERSION}::Gui
Qt::Core
Qt::Gui
KF5::MailCommon
KF5::I18n
KF5::Completion
......@@ -81,8 +81,8 @@ target_link_libraries(filteractionmissingtagdialoggui
add_executable(filteractionmissingidentitydialoggui filteractionmissingidentitydialoggui.cpp ../../../autotests/dummykernel.cpp ../dialog/filteractionmissingidentitydialog.cpp)
ecm_mark_as_test(filteractionmissingidentitydialoggui)
target_link_libraries(filteractionmissingidentitydialoggui
Qt${QT_MAJOR_VERSION}::Core
Qt${QT_MAJOR_VERSION}::Gui
Qt::Core
Qt::Gui
KF5::MailCommon
KF5::I18n
KF5::Completion
......
......@@ -4,7 +4,7 @@ macro(add_search_autotest _name)
ecm_add_test(${ARGN}
TEST_NAME ${_name}
NAME_PREFIX "mailcommon-search-"
LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Test Qt${QT_MAJOR_VERSION}::Gui KF5::Mime KF5::AkonadiCore KF5::AkonadiMime KF5::MailCommon KF5::I18n
LINK_LIBRARIES Qt::Test Qt::Gui KF5::Mime KF5::AkonadiCore KF5::AkonadiMime KF5::MailCommon KF5::I18n
)
endmacro()
......
......@@ -5,7 +5,7 @@ macro(add_snippets _source)
ecm_add_test(${_source} ${_name}.h
TEST_NAME ${_name}
NAME_PREFIX "mailcommon-filter-"
LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Test Qt${QT_MAJOR_VERSION}::Gui KF5::MailCommon KF5::XmlGui
LINK_LIBRARIES Qt::Test Qt::Gui KF5::MailCommon KF5::XmlGui
)
endmacro()
......
Supports Markdown
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