Commit 596f84fe authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Still compile error to reactivate it

parent 406ee919
......@@ -8,9 +8,9 @@ set(okularGenerator_mobi_PART_SRCS
converter.cpp
)
kde4_add_plugin(okularGenerator_mobi ${okularGenerator_mobi_PART_SRCS})
add_library(okularGenerator_mobi MODULE ${okularGenerator_mobi_PART_SRCS})
target_link_libraries(okularGenerator_mobi okularcore ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBS} ${QT_QTGUI_LIBRARY} ${QMOBIPOCKET_LIBRARIES})
target_link_libraries(okularGenerator_mobi okularcore KF5::KDELibs4Support Qt5::Gui ${QMOBIPOCKET_LIBRARIES})
install(TARGETS okularGenerator_mobi DESTINATION ${PLUGIN_INSTALL_DIR})
......
......@@ -12,23 +12,24 @@
#include <KAboutData>
#include <kconfigdialog.h>
#include <KLocalizedString>
static KAboutData createAboutData()
{
KAboutData aboutData(
"okular_mobi",
QStringLiteral("okular_mobi"),
i18n("Mobipocket Backend"),
"0.1.1",
QStringLiteral("0.1.1"),
i18n("A mobipocket backend"),
KAboutLicense::GPL,
i18n("© 2008-2009 Jakub Stachowski")
);
aboutData.addAuthor(i18n("Jakub Stachowski"), KLocalizedString(),
"qbast@go2.pl");
aboutData.addAuthor(i18n("Jakub Stachowski"), QString(), QLatin1String("qbast@go2.pl"));
return aboutData;
}
OKULAR_EXPORT_PLUGIN( MobiGenerator, createAboutData() )
MobiGenerator::MobiGenerator( QObject *parent, const QVariantList &args )
......
Supports Markdown
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