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

Use autorcc directly

parent d44853ca
Pipeline #49413 failed with stage
in 10 minutes and 41 seconds
...@@ -276,6 +276,7 @@ set(_kleopatra_SRCS ...@@ -276,6 +276,7 @@ set(_kleopatra_SRCS
kleopatraapplication.cpp kleopatraapplication.cpp
mainwindow.cpp mainwindow.cpp
main.cpp main.cpp
kleopatra.qrc
) )
if(WIN32) if(WIN32)
...@@ -332,8 +333,6 @@ kconfig_add_kcfg_files(_kleopatra_SRCS ...@@ -332,8 +333,6 @@ kconfig_add_kcfg_files(_kleopatra_SRCS
file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*-apps-kleopatra.png") file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*-apps-kleopatra.png")
ecm_add_app_icon(_kleopatra_SRCS ICONS ${ICONS_SRCS}) ecm_add_app_icon(_kleopatra_SRCS ICONS ${ICONS_SRCS})
qt5_add_resources(_kleopatra_SRCS kleopatra.qrc)
add_executable(kleopatra_bin ${_kleopatra_SRCS} ${_kleopatra_uiserver_SRCS}) add_executable(kleopatra_bin ${_kleopatra_SRCS} ${_kleopatra_uiserver_SRCS})
#if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) #if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
# set_target_properties(kleopatra_bin PROPERTIES UNITY_BUILD ON) # set_target_properties(kleopatra_bin PROPERTIES UNITY_BUILD ON)
......
...@@ -14,6 +14,7 @@ set(kwatchgnupg_SRCS ...@@ -14,6 +14,7 @@ set(kwatchgnupg_SRCS
aboutdata.cpp aboutdata.cpp
tray.cpp tray.cpp
main.cpp main.cpp
kwatchgnupg.qrc
) )
ecm_qt_declare_logging_category(kwatchgnupg_SRCS HEADER kwatchgnupg_debug.h IDENTIFIER KWATCHGNUPG_LOG CATEGORY_NAME org.kde.pim.kwatchgnupg ecm_qt_declare_logging_category(kwatchgnupg_SRCS HEADER kwatchgnupg_debug.h IDENTIFIER KWATCHGNUPG_LOG CATEGORY_NAME org.kde.pim.kwatchgnupg
...@@ -22,8 +23,6 @@ ecm_qt_declare_logging_category(kwatchgnupg_SRCS HEADER kwatchgnupg_debug.h IDEN ...@@ -22,8 +23,6 @@ ecm_qt_declare_logging_category(kwatchgnupg_SRCS HEADER kwatchgnupg_debug.h IDEN
EXPORT KLEOPATRA EXPORT KLEOPATRA
) )
qt5_add_resources(kwatchgnupg_SRCS kwatchgnupg.qrc)
if(WIN32) if(WIN32)
set(kwatchgnupg_SRCS ${kwatchgnupg_SRCS} ../utils/gnupg-registry.c) set(kwatchgnupg_SRCS ${kwatchgnupg_SRCS} ../utils/gnupg-registry.c)
endif() endif()
......
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