Commit af0bba19 authored by Laurent Montel's avatar Laurent Montel
Browse files

Use Qt:: directly

parent 46267d8a
Pipeline #218896 passed with stage
in 6 minutes and 47 seconds
......@@ -12,14 +12,14 @@ configure_file(test_config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/test_config.h @ON
ecm_add_tests(testdndfactory.cpp teststringify.cpp testtodotooltip.cpp
NAME_PREFIX "kcalutils-"
LINK_LIBRARIES KF5CalendarUtils KF5::I18n Qt${QT_MAJOR_VERSION}::Test
LINK_LIBRARIES KF5CalendarUtils KF5::I18n Qt::Test
)
ecm_add_test(testincidenceformatter.cpp testincidenceformatter.h
TEST_NAME "testincidenceformatter"
NAME_PREFIX "kcalutils-"
LINK_LIBRARIES KF5CalendarUtils Qt${QT_MAJOR_VERSION}::Core Qt${QT_MAJOR_VERSION}::Test KF5::CalendarCore KF5::I18n KF5::IdentityManagement ${TEMPLATES_LIB}
LINK_LIBRARIES KF5CalendarUtils Qt::Core Qt::Test KF5::CalendarCore KF5::I18n KF5::IdentityManagement ${TEMPLATES_LIB}
)
# Make sure that dates are formatted in C locale
......
......@@ -53,7 +53,7 @@ target_include_directories(KF5CalendarUtils PUBLIC "$<BUILD_INTERFACE:${KCalUtil
target_link_libraries(KF5CalendarUtils
PUBLIC
Qt${QT_MAJOR_VERSION}::Widgets
Qt::Widgets
KF5::CalendarCore
KF5::CoreAddons
KF5::ConfigGui
......
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