summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Gladhorn <gladhorn@kde.org>2014-08-14 07:27:36 (GMT)
committerFrederik Gladhorn <gladhorn@kde.org>2014-08-14 07:27:38 (GMT)
commit9350061dfce6e2ea8a8cff7f79410087143fa13f (patch)
tree285035b588279743ff52a73439a7997eba6ff7b3
parentbd36521c3631f50002613ac73c59178f57896f39 (diff)
Do not add json for txt generator
This was an experiment early on in the porting. If QPluginLoader is the way to go, then it should be applied to all generators.
-rw-r--r--generators/txt/CMakeLists.txt2
-rw-r--r--generators/txt/generator_txt.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/generators/txt/CMakeLists.txt b/generators/txt/CMakeLists.txt
index 661e14f..2cb8885 100644
--- a/generators/txt/CMakeLists.txt
+++ b/generators/txt/CMakeLists.txt
@@ -15,8 +15,6 @@ set(okularGenerator_txt_SRCS
add_library(okularGenerator_txt MODULE ${okularGenerator_txt_SRCS})
target_link_libraries(okularGenerator_txt okularcore Qt5::Core)
-kservice_desktop_to_json(okularGenerator_txt libokularGenerator_txt.desktop)
-
install(TARGETS okularGenerator_txt DESTINATION ${PLUGIN_INSTALL_DIR})
diff --git a/generators/txt/generator_txt.h b/generators/txt/generator_txt.h
index 1e3c8fe..04395b3 100644
--- a/generators/txt/generator_txt.h
+++ b/generators/txt/generator_txt.h
@@ -17,7 +17,6 @@
class TxtGenerator : public Okular::TextDocumentGenerator
{
Q_OBJECT
- Q_PLUGIN_METADATA(IID OkularGeneratorInterface_iid FILE "libokularGenerator_txt.json")
public:
TxtGenerator();