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

We depend against qt5.15 so we can use directly qt macro

parent 8a77b1dc
......@@ -205,9 +205,9 @@ set(kgpg_HDRS
sourceselect.h
)
qt5_add_dbus_adaptor( kgpg_SRCS org.kde.kgpg.Key.xml keysmanager.h KeysManager)
qt_add_dbus_adaptor( kgpg_SRCS org.kde.kgpg.Key.xml keysmanager.h KeysManager)
qt5_add_dbus_interface(kgpg_SRCS org.kde.kgpg.Key.xml kgpg_interface )
qt_add_dbus_interface(kgpg_SRCS org.kde.kgpg.Key.xml kgpg_interface )
ki18n_wrap_ui(kgpg_SRCS
adduid.ui
......@@ -262,7 +262,7 @@ target_link_libraries(kgpg_lib
KF5::XmlGui
KF5::WidgetsAddons
KF5::WindowSystem
Qt5::PrintSupport
Qt::PrintSupport
)
if(BUILD_TESTING)
......
......@@ -6,7 +6,7 @@ target_link_libraries(kgpg_tests_common kgpg_lib)
function(create_test name)
add_executable(${name} ${ARGN})
target_link_libraries(${name} kgpg_lib kgpg_tests_common Qt5::Test)
target_link_libraries(${name} kgpg_lib kgpg_tests_common Qt::Test)
add_test(NAME ${name} COMMAND ${name})
add_dependencies(${name} test-data)
endfunction()
......
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