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.
frameworks
Frederik Gladhorn 12 years ago
parent bd36521c36
commit 9350061dfc
  1. 2
      generators/txt/CMakeLists.txt
  2. 1
      generators/txt/generator_txt.h

@ -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})

@ -17,7 +17,6 @@
class TxtGenerator : public Okular::TextDocumentGenerator
{
Q_OBJECT
Q_PLUGIN_METADATA(IID OkularGeneratorInterface_iid FILE "libokularGenerator_txt.json")
public:
TxtGenerator();

Loading…
Cancel
Save