summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-10-27 09:06:17 +0200
committerMontel Laurent <[email protected]>2017-10-27 09:06:39 +0200
commit877977e4354138a0797f40c2b6bfc20c675d4605 (patch)
tree27d0e58fb007980f5fe93e29339152b62513e941
parent09ea31b8609b6e5ea167c13f53ae87261119f5d1 (diff)
Embedde rc file in apps directlyv17.11.80
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/kfourinline.qrc5
2 files changed, 6 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d517a2e..5ca8887 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -28,6 +28,7 @@ set(kwin4_SRCS
pixmapsprite.cpp
kfontutils.cpp
)
+qt5_add_resources(kwin4_SRCS kfourinline.qrc)
configure_file(config-src.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-src.h)
@@ -72,6 +73,5 @@ install(TARGETS kfourinlineproc ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
########### install files ###############
install( FILES kwin4.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR} )
-install( FILES kfourinlineui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kfourinline )
diff --git a/src/kfourinline.qrc b/src/kfourinline.qrc
new file mode 100644
index 0000000..2e59c95
--- /dev/null
+++ b/src/kfourinline.qrc
@@ -0,0 +1,5 @@
+<RCC>
+<qresource prefix="/kxmlgui5/kfourinline">
+<file>kfourinlineui.rc</file>
+</qresource>
+</RCC>