Commit 173339e6 authored by David Faure's avatar David Faure
Browse files

cantor: install part to kf5/parts

Remove unwanted "lib" prefix, loadable modules shouldn't have that.

KF6 task:
parent ce67f57b
Pipeline #58058 passed with stage
in 23 minutes and 44 seconds
......@@ -97,9 +97,7 @@ configure_file (config-cantor.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-cantor.
JSON "cantor_part.json"
set_target_properties(cantorpart PROPERTIES PREFIX "${CMAKE_SHARED_LIBRARY_PREFIX}")
target_link_libraries(cantorpart KF5::Parts KF5::NewStuff
KF5::TextEditor ${Qt5XmlPatterns_LIBRARIES}
......@@ -339,7 +339,7 @@ void CantorShell::addWorksheet(const QString& backendName)
// this routine will find and load our Part. it finds the Part by
// name which is a bad idea usually.. but it's alright in this
// case since our Part is made for this Shell
KPluginLoader loader(QLatin1String("cantorpart"));
KPluginLoader loader(QLatin1String("kf5/parts/cantorpart"));
KPluginFactory* factory = loader.factory();
if (factory)
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