Commit b727224a authored by Christoph Cullmann's avatar Christoph Cullmann

Porting XML Validation plugin to KF5

include ui file in resource and there we are: mac + win compatible ;)
parent 8721cd33
......@@ -12,6 +12,9 @@ set(katexmlcheckplugin_PART_SRCS
plugin_katexmlcheck.cpp
)
# resource for ui file and stuff
qt5_add_resources(katexmlcheckplugin_PART_SRCS plugin.qrc)
#kde4_add_plugin(katexmlcheckplugin ${katexmlcheckplugin_PART_SRCS})
add_library(katexmlcheckplugin MODULE ${katexmlcheckplugin_PART_SRCS})
......@@ -29,10 +32,5 @@ target_link_libraries(katexmlcheckplugin
# this did not changed
install(TARGETS katexmlcheckplugin DESTINATION ${PLUGIN_INSTALL_DIR}/ktexteditor )
########### install files ###############
#install( FILES ui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/kate/plugins/katexmlcheck )
install( FILES ui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/katexmlcheck )
# It is to generate json
kcoreaddons_desktop_to_json (katexmlcheckplugin katexmlcheck.desktop)
\ No newline at end of file
kcoreaddons_desktop_to_json (katexmlcheckplugin katexmlcheck.desktop)
<!DOCTYPE RCC>
<RCC version="1.0">
<qresource prefix="/kxmlgui5/katexmlcheck">
<file>ui.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