Commit 9e50be41 authored by Laurent Montel's avatar Laurent Montel 😁

Make it works without install it

parent baee8303
......@@ -195,6 +195,8 @@ set(korganizerprivate_LIB_SRCS
views/whatsnextview/kowhatsnextview.cpp
)
qt5_add_resources(korganizerprivate_LIB_SRCS korganizer.qrc)
ki18n_wrap_ui(korganizerprivate_LIB_SRCS
ui/filteredit_base.ui
ui/kogroupwareprefspage.ui
......@@ -298,11 +300,6 @@ install(FILES
DESTINATION ${KDE_INSTALL_KSERVICES5DIR}
)
install(FILES
data/korganizerui.rc
DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/korganizer
)
install(FILES
data/org.kde.Korganizer.Calendar.xml data/org.kde.korganizer.Korganizer.xml
DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR}
......
......@@ -167,7 +167,7 @@ void KOrganizer::initActions()
KStandardAction::configureToolbars(this, &KOrganizer::configureToolbars, actionCollection());
KStandardAction::quit(this, &KOrganizer::close, actionCollection());
setXMLFile(QStringLiteral("korganizerui.rc"), true);
setXMLFile(QStringLiteral(":/kxmlgui5/korganizer/korganizerui.rc"), true);
createGUI(nullptr);
setAutoSaveSettings();
......
<RCC>
<qresource prefix="/kxmlgui5/korganizer">
<file alias="korganizerui.rc">data/korganizerui.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