diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -135,6 +135,14 @@
)
endif()
+if (ANDROID)
+ set(fileName KF5Parts-android-dependencies.xml)
+ file(WRITE "${fileName}" "\n"
+ "\n"
+ "\n")
+ install(FILES ${fileName} DESTINATION ${KDE_INSTALL_LIBDIR})
+endif()
+
include(ECMGeneratePriFile)
ecm_generate_pri_file(BASE_NAME KParts LIB_NAME KF5Parts DEPS "KIOWidgets KXmlGui KTextWidgets" FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF5}/KParts)
install(FILES ${PRI_FILENAME} DESTINATION ${ECM_MKSPECS_INSTALL_DIR})
diff --git a/src/part.h b/src/part.h
--- a/src/part.h
+++ b/src/part.h
@@ -62,6 +62,17 @@
* See also ReadOnlyPart and ReadWritePart, which define the
* framework for a "viewer" part and for an "editor"-like part.
* Use Part directly only if your part doesn't fit into those.
+ *
+ * Installing\n
+ *
+ * This KPart will be exported as a plugin. It requires a desktop file that
+ * needs to be installed to be installed to ${KDE_INSTALL_KSERVICES5DIR} with
+ * its exposed interfaces (e.g. X-KDE-ServiceTypes=KParts/ReadOnlyPart,KParts/ReadWritePart)
+ * and its plugin with the logic that we recommend installing to
+ * ${KDE_INSTALL_PLUGINDIR}/kf5/parts
+ *
+ * For more information look at KService documentation in
+ * https://api.kde.org/frameworks/kservice/html/
*/
class KPARTS_EXPORT Part : public QObject, public PartBase
{