summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-11-06 08:55:45 +0100
committerMontel Laurent <[email protected]>2017-11-06 08:55:45 +0100
commit1382cd2e71fca0dc1d42fe30c1924769a515d923 (patch)
tree2268d2e2024ddbc1ebe43d6d77ef9e896fa67722
parentbb4fe81010a421f66da318b49630ea7587bae80e (diff)
Move rc file to qrc
-rw-r--r--CMakeLists.txt2
-rw-r--r--ksnakeduel.qrc5
2 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7a254f7..9dc1aa2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -60,6 +60,7 @@ set(ksnakeduel_SRCS
ki18n_wrap_ui(ksnakeduel_SRCS general.ui)
kconfig_add_kcfg_files(ksnakeduel_SRCS settings.kcfgc)
+qt5_add_resources(ksnakeduel_SRCS ksnakeduel.qrc)
file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/pics/*-apps-ksnakeduel.png")
ecm_add_app_icon(ksnakeduel_SRCS ICONS ${ICONS_SRCS})
@@ -83,7 +84,6 @@ install(TARGETS ksnakeduel ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(PROGRAMS org.kde.ksnakeduel.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES ksnakeduel.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
-install(FILES ksnakeduelui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/ksnakeduel)
install(FILES ksnakeduel.knsrc DESTINATION ${KDE_INSTALL_CONFDIR})
install(FILES org.kde.ksnakeduel.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
diff --git a/ksnakeduel.qrc b/ksnakeduel.qrc
new file mode 100644
index 0000000..f67b11d
--- /dev/null
+++ b/ksnakeduel.qrc
@@ -0,0 +1,5 @@
+<RCC>
+<qresource prefix="/kxmlgui5/ksnakeduel">
+<file>ksnakeduelui.rc</file>
+</qresource>
+</RCC>