Commit 5e122c92 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use qt_ macro + Qt::

parent 0bdeb629
......@@ -48,9 +48,9 @@ set(keditbookmarks_SRCS
keditbookmarks.qrc
)
set(toplevel_xml ${CMAKE_CURRENT_BINARY_DIR}/org.kde.keditbookmarks.xml)
qt5_generate_dbus_interface( ${CMAKE_CURRENT_SOURCE_DIR}/toplevel.h org.kde.keditbookmarks.xml )
qt_generate_dbus_interface( ${CMAKE_CURRENT_SOURCE_DIR}/toplevel.h org.kde.keditbookmarks.xml )
qt5_add_dbus_interface( keditbookmarks_SRCS ${toplevel_xml} toplevel_interface )
qt_add_dbus_interface( keditbookmarks_SRCS ${toplevel_xml} toplevel_interface )
kconfig_add_kcfg_files(keditbookmarks_SRCS settings.kcfgc )
......
......@@ -13,7 +13,7 @@ set(kbookmarkmodel_SRCS
add_library(kbookmarkmodel_private SHARED ${kbookmarkmodel_SRCS})
target_link_libraries(kbookmarkmodel_private
PUBLIC
Qt5::Widgets
Qt::Widgets
KF5::XmlGui # KActionCollection
PRIVATE
KF5::Bookmarks
......
......@@ -7,5 +7,5 @@ set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
set(kbookmarkmodeltest_SRCS kbookmarkmodeltest.cpp)
ecm_add_test(${kbookmarkmodeltest_SRCS}
TEST_NAME kbookmarkmodeltest
LINK_LIBRARIES kbookmarkmodel_private KF5::Bookmarks Qt5::Test
LINK_LIBRARIES kbookmarkmodel_private KF5::Bookmarks Qt::Test
)
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