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

GIT_SILENT: use Qt:: everywhere

parent bee0faca
Pipeline #62305 skipped
......@@ -3,6 +3,6 @@ include(ECMAddTests)
ecm_qt_declare_logging_category(akonadi_serializer_autotest_addressee_SRCS HEADER serializer_debug.h IDENTIFIER AKONADI_SERIALIZER_CONTACT_LOG CATEGORY_NAME org.kde.pim.contact_serializer)
ecm_add_test(addresseeserializertest.cpp ../akonadi_serializer_addressee.cpp ${akonadi_serializer_autotest_addressee_SRCS}
LINK_LIBRARIES KF5::AkonadiCore KF5::AkonadiContact KF5::Contacts KF5::I18n Qt5::Core Qt5::Test
LINK_LIBRARIES KF5::AkonadiCore KF5::AkonadiContact KF5::Contacts KF5::I18n Qt::Core Qt::Test
TEST_NAME addresseeserializertest
)
......@@ -151,7 +151,7 @@ target_link_libraries(KF5AkonadiContact
KF5::AkonadiCore
KF5::Contacts
KF5::AkonadiWidgets
Qt5::Widgets
Qt::Widgets
KF5::GrantleeTheme
PRIVATE
KF5::ConfigCore
......
......@@ -12,7 +12,7 @@ macro(add_akonadi_contact_demo _source)
add_test(NAME ${_name} COMMAND ${_name} )
target_link_libraries(${_name}
KF5::AkonadiContact
Qt5::Test)
Qt::Test)
ecm_mark_as_test(${_name})
endmacro()
......@@ -21,5 +21,5 @@ endmacro()
add_akonadi_contact_demo(contactmetadataattributetest.cpp)
ecm_add_test(grantleeprinttest.cpp
LINK_LIBRARIES KF5::AkonadiContact Qt5::Test KF5::Contacts
LINK_LIBRARIES KF5::AkonadiContact Qt::Test KF5::Contacts
)
......@@ -13,7 +13,7 @@ macro(add_akonadi_contact_demo _source)
KF5::Completion
KF5::I18n
KF5::WidgetsAddons
Qt5::Test)
Qt::Test)
ecm_mark_as_test(${_name})
endmacro()
......
......@@ -162,7 +162,7 @@ target_include_directories(KF5ContactEditor PUBLIC "$<BUILD_INTERFACE:${Akonadi-
target_link_libraries(KF5ContactEditor
PUBLIC
KF5::Contacts
Qt5::Widgets
Qt::Widgets
PRIVATE
KF5::Completion
KF5::ConfigCore
......
......@@ -7,4 +7,4 @@ set(addresslocationwidget_SRCS addresslocationwidgettest.cpp ../addresslocationw
add_executable(addresslocationwidget ${addresslocationwidget_SRCS})
add_test(NAME addresslocationwidget COMMAND addresslocationwidget)
ecm_mark_as_test(addresslocationwidget)
target_link_libraries(addresslocationwidget Qt5::Test Qt5::Widgets KF5::ContactEditor KF5::Contacts KF5::I18n KF5::Completion KF5::WidgetsAddons)
target_link_libraries(addresslocationwidget Qt::Test Qt::Widgets KF5::ContactEditor KF5::Contacts KF5::I18n KF5::Completion KF5::WidgetsAddons)
......@@ -3,18 +3,18 @@ set(customfieldswidgettest_SRCS customfieldswidgettest.cpp ../customfieldswidget
add_executable(customfieldswidgettest ${customfieldswidgettest_SRCS})
add_test(NAME customfieldswidgettest COMMAND customfieldswidgettest)
ecm_mark_as_test(customfieldswidgettest)
target_link_libraries(customfieldswidgettest Qt5::Test Qt5::Widgets KF5::ContactEditor KF5::Contacts KF5::I18n KF5::Completion KF5::ConfigCore KF5::WidgetsAddons)
target_link_libraries(customfieldswidgettest Qt::Test Qt::Widgets KF5::ContactEditor KF5::Contacts KF5::I18n KF5::Completion KF5::ConfigCore KF5::WidgetsAddons)
set(customfieldeditorwidgettest_SRCS customfieldeditorwidgettest.cpp ../customfieldeditorwidget.cpp)
add_executable(customfieldeditorwidgettest ${customfieldeditorwidgettest_SRCS})
add_test(NAME customfieldeditorwidgettest COMMAND customfieldeditorwidgettest)
ecm_mark_as_test(customfieldeditorwidgettest)
target_link_libraries(customfieldeditorwidgettest Qt5::Test Qt5::Widgets KF5::ContactEditor KF5::Contacts KF5::I18n KF5::Completion KF5::WidgetsAddons)
target_link_libraries(customfieldeditorwidgettest Qt::Test Qt::Widgets KF5::ContactEditor KF5::Contacts KF5::I18n KF5::Completion KF5::WidgetsAddons)
set(customfieldslistwidgettest_SRCS customfieldslistwidgettest.cpp ../customfieldslistwidget.cpp ../customfieldsmodel.cpp
../customfieldslistdelegate.cpp ../../utils/utils.cpp)
add_executable(customfieldslistwidgettest ${customfieldslistwidgettest_SRCS})
add_test(NAME customfieldslistwidgettest COMMAND customfieldslistwidgettest)
ecm_mark_as_test(customfieldslistwidgettest)
target_link_libraries(customfieldslistwidgettest Qt5::Test Qt5::Widgets KF5::ContactEditor KF5::Contacts KF5::I18n KF5::Completion KF5::ConfigCore KF5::WidgetsAddons)
target_link_libraries(customfieldslistwidgettest Qt::Test Qt::Widgets KF5::ContactEditor KF5::Contacts KF5::I18n KF5::Completion KF5::ConfigCore KF5::WidgetsAddons)
......@@ -11,7 +11,7 @@ set(customfieldeditor_SRCS
add_executable(customfieldeditortest ${customfieldeditor_SRCS})
target_link_libraries(customfieldeditortest
Qt5::Widgets
Qt::Widgets
KF5::ContactEditor
KF5::Contacts
KF5::I18n
......
......@@ -6,20 +6,20 @@ set(phonewidgettest_SRCS phonewidgettest.cpp)
add_executable(phonewidgettest ${phonewidgettest_SRCS})
add_test(NAME phonewidgettest COMMAND phonewidgettest)
ecm_mark_as_test(phonewidgettest)
target_link_libraries(phonewidgettest Qt5::Test Qt5::Widgets KF5::ContactEditor KF5::Contacts KF5::I18n KF5::Completion KF5::IconThemes)
target_link_libraries(phonewidgettest Qt::Test Qt::Widgets KF5::ContactEditor KF5::Contacts KF5::I18n KF5::Completion KF5::IconThemes)
set(mailwidgettest_SRCS mailwidgettest.cpp)
add_executable(mailwidgettest ${mailwidgettest_SRCS})
add_test(NAME mailwidgettest COMMAND mailwidgettest)
ecm_mark_as_test(mailwidgettest)
target_link_libraries(mailwidgettest Qt5::Test Qt5::Widgets KF5::ContactEditor KF5::Contacts KF5::I18n KF5::Completion KF5::IconThemes)
target_link_libraries(mailwidgettest Qt::Test Qt::Widgets KF5::ContactEditor KF5::Contacts KF5::I18n KF5::Completion KF5::IconThemes)
set(messagingwidgettest_SRCS messagingwidgettest.cpp ../../widgets/preferredlineeditwidget.cpp)
add_executable(messagingwidgettest ${messagingwidgettest_SRCS})
add_test(NAME messagingwidgettest COMMAND messagingwidgettest)
ecm_mark_as_test(messagingwidgettest)
target_link_libraries(messagingwidgettest Qt5::Test Qt5::Widgets KF5::ContactEditor KF5::Contacts KF5::I18n KF5::Completion KF5::Service KF5::IconThemes)
target_link_libraries(messagingwidgettest Qt::Test Qt::Widgets KF5::ContactEditor KF5::Contacts KF5::I18n KF5::Completion KF5::Service KF5::IconThemes)
......@@ -27,24 +27,24 @@ set(contactselecttypecomboboxtest_SRCS contactselecttypecomboboxtest.cpp)
add_executable(contactselecttypecomboboxtest ${contactselecttypecomboboxtest_SRCS})
add_test(NAME contactselecttypecomboboxtest COMMAND contactselecttypecomboboxtest)
ecm_mark_as_test(contactselecttypecomboboxtest)
target_link_libraries(contactselecttypecomboboxtest Qt5::Test Qt5::Widgets KF5::ContactEditor KF5::I18n )
target_link_libraries(contactselecttypecomboboxtest Qt::Test Qt::Widgets KF5::ContactEditor KF5::I18n )
set(nicknamewidgettest_SRCS nicknamewidgettest.cpp)
add_executable(nicknamewidgettest ${nicknamewidgettest_SRCS})
add_test(NAME nicknamewidgettest COMMAND nicknamewidgettest)
ecm_mark_as_test(nicknamewidgettest)
target_link_libraries(nicknamewidgettest Qt5::Test Qt5::Widgets KF5::ContactEditor KF5::I18n KF5::Completion)
target_link_libraries(nicknamewidgettest Qt::Test Qt::Widgets KF5::ContactEditor KF5::I18n KF5::Completion)
set(blogfeedwidgettest_SRCS blogfeedwidgettest.cpp)
add_executable(blogfeedwidgettest ${blogfeedwidgettest_SRCS})
add_test(NAME blogfeedwidgettest COMMAND blogfeedwidgettest)
ecm_mark_as_test(blogfeedwidgettest)
target_link_libraries(blogfeedwidgettest Qt5::Test Qt5::Widgets KF5::ContactEditor KF5::I18n KF5::Completion)
target_link_libraries(blogfeedwidgettest Qt::Test Qt::Widgets KF5::ContactEditor KF5::I18n KF5::Completion)
set(messageformattingwidgettest_SRCS messageformattingwidgettest.cpp)
add_executable(messageformattingwidgettest ${messageformattingwidgettest_SRCS})
add_test(NAME messageformattingwidgettest COMMAND messageformattingwidgettest)
ecm_mark_as_test(messageformattingwidgettest)
target_link_libraries(messageformattingwidgettest Qt5::Test Qt5::Widgets KF5::ContactEditor KF5::I18n )
target_link_libraries(messageformattingwidgettest Qt::Test Qt::Widgets KF5::ContactEditor KF5::I18n )
......@@ -21,7 +21,7 @@ set(generalinfoeditor_SRCS
add_executable(generalinfoeditortest ${generalinfoeditor_SRCS})
target_link_libraries(generalinfoeditortest
Qt5::Widgets
Qt::Widgets
KF5::ContactEditor
KF5::Contacts
KF5::I18n
......
......@@ -2,4 +2,4 @@ set( preferredlineeditwidgettest_SRCS preferredlineeditwidgettest.cpp ../preferr
add_executable( preferredlineeditwidgettest ${preferredlineeditwidgettest_SRCS})
add_test(NAME preferredlineeditwidgettest COMMAND preferredlineeditwidgettest)
ecm_mark_as_test(preferredlineeditwidgettest)
target_link_libraries( preferredlineeditwidgettest Qt5::Test Qt5::Widgets KF5::Completion KF5::IconThemes KF5::I18n)
target_link_libraries( preferredlineeditwidgettest Qt::Test Qt::Widgets KF5::Completion KF5::IconThemes KF5::I18n)
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