mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-12 20:51:17 +00:00
Still compile error to reactivate it
This commit is contained in:
parent
406ee919bf
commit
596f84fe17
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue