Commit ad05088b authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

compile in the ui files

parent fcf16e1b
......@@ -2,4 +2,3 @@
install( PROGRAMS org.kde.kate.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( FILES org.kde.kate.appdata.xml DESTINATION ${CMAKE_INSTALL_METAINFODIR} )
install( FILES katerc DESTINATION ${CONFIG_INSTALL_DIR} )
install( FILES kateui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/kate )
<!DOCTYPE RCC><RCC version="1.0">
<qresource prefix="/kate">
<file>mascot.png</file>
</qresource>
<!DOCTYPE RCC>
<RCC version="1.0">
<qresource prefix="/kate">
<file>mascot.png</file>
</qresource>
<qresource prefix="/kxmlgui5/kate">
<file>kateui.rc</file>
</qresource>
</RCC>
......@@ -4,8 +4,12 @@ project (kwrite)
# Load the frameworks we need
find_package(KF5 REQUIRED COMPONENTS DBusAddons)
# collect the sources
set (KWRITE_APPLICATION_SRCS main.cpp kwrite.cpp)
qt5_add_resources(KWRITE_APPLICATION_SRCS kwrite.qrc)
# build KWrite application
kf5_add_kdeinit_executable(kwrite main.cpp kwrite.cpp)
kf5_add_kdeinit_executable(kwrite ${KWRITE_APPLICATION_SRCS})
target_link_libraries(kdeinit_kwrite
KF5::TextEditor
KF5::I18n
......@@ -20,4 +24,3 @@ install(TARGETS kwrite ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS kdeinit_kwrite ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(PROGRAMS org.kde.kwrite.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(FILES org.kde.kwrite.appdata.xml DESTINATION ${CMAKE_INSTALL_METAINFODIR} )
install(FILES kwriteui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/kwrite)
<!DOCTYPE RCC>
<RCC version="1.0">
<qresource prefix="/kxmlgui5/kwrite">
<file>kwriteui.rc</file>
</qresource>
</RCC>
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