From 953b25367651d222059b1ea50403079eb7c2a3e3 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Wed, 19 May 2021 22:10:14 +0200 Subject: Use directly autorcc --- src/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 137f01c36..a8c4e1896 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -181,10 +181,9 @@ set(dolphinpart_SRCS dolphinpart.cpp dolphinpart_ext.cpp dolphindebug.cpp + dolphinpart.qrc ) -qt5_add_resources(dolphinpart_SRCS dolphinpart.qrc) - add_library(dolphinpart MODULE ${dolphinpart_SRCS}) kcoreaddons_desktop_to_json(dolphinpart ${CMAKE_CURRENT_BINARY_DIR}/dolphinpart.desktop) @@ -255,6 +254,7 @@ set(dolphinstatic_SRCS views/zoomlevelinfo.cpp dolphindebug.cpp global.cpp + dolphin.qrc ) if(HAVE_BALOO) @@ -292,8 +292,6 @@ kconfig_add_kcfg_files(dolphinstatic_SRCS GENERATE_MOC settings/dolphin_generalsettings.kcfgc ) -qt5_add_resources(dolphinstatic_SRCS dolphin.qrc) - qt5_generate_dbus_interface(${CMAKE_CURRENT_SOURCE_DIR}/dolphinmainwindow.h org.kde.DolphinMainWindow.xml) qt5_add_dbus_adaptor(dolphinstatic_SRCS ${CMAKE_CURRENT_BINARY_DIR}/org.kde.DolphinMainWindow.xml dolphinmainwindow.h DolphinMainWindow) qt5_add_dbus_interface(dolphinstatic_SRCS ${CMAKE_CURRENT_BINARY_DIR}/org.kde.DolphinMainWindow.xml dolphinmainwindowinterface) -- cgit v1.3.1