Commit 5393e45d authored by Laurent Montel's avatar Laurent Montel
Browse files

Use Qt:: directly

parent a64fe770
Pipeline #220093 passed with stage
in 3 minutes and 49 seconds
......@@ -5,11 +5,11 @@ include(ECMAddTests)
find_package(Qt${QT_MAJOR_VERSION}Test CONFIG REQUIRED)
if(Ldap_FOUND)
ecm_add_tests(testkldap.cpp NAME_PREFIX "kldap-" LINK_LIBRARIES KF5::Ldap Qt${QT_MAJOR_VERSION}::Test)
ecm_add_tests(testkldap.cpp NAME_PREFIX "kldap-" LINK_LIBRARIES KF5::Ldap Qt::Test)
endif()
add_executable(ldapclientsearchconfigreadconfigjobtest ldapclientsearchconfigreadconfigjobtest.cpp)
add_test(NAME ldapclientsearchconfigreadconfigjobtest COMMAND ldapclientsearchconfigreadconfigjobtest)
ecm_mark_as_test(ldapclientsearchconfigreadconfigjobtest)
target_link_libraries(ldapclientsearchconfigreadconfigjobtest Qt${QT_MAJOR_VERSION}::Test KF5::Ldap KF5::ConfigCore)
target_link_libraries(ldapclientsearchconfigreadconfigjobtest Qt::Test KF5::Ldap KF5::ConfigCore)
......@@ -9,7 +9,7 @@ ecm_qt_declare_logging_category(kio_ldap HEADER kldap_debug.h IDENTIFIER KLDAP_L
)
target_link_libraries(kio_ldap Qt${QT_MAJOR_VERSION}::Network KF5::KIOCore KF5::I18n KF5::Ldap)
target_link_libraries(kio_ldap Qt::Network KF5::KIOCore KF5::I18n KF5::Ldap)
if (WIN32)
target_link_libraries(kio_ldap ws2_32)
endif()
......
......@@ -103,7 +103,7 @@ generate_export_header(KF5Ldap BASE_NAME kldap)
target_link_libraries(KF5Ldap
PRIVATE
Qt${QT_MAJOR_VERSION}::Widgets
Qt::Widgets
KF5::I18n
KF5::WidgetsAddons
KF5::ConfigCore
......
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