Commit 7e3e8269 authored by Raymond Wooninck's avatar Raymond Wooninck

Make the generators build

parent 596f84fe
......@@ -13,9 +13,9 @@ set(okularGenerator_djvu_SRCS
)
kde4_add_plugin(okularGenerator_djvu ${okularGenerator_djvu_SRCS})
add_library(okularGenerator_djvu MODULE ${okularGenerator_djvu_SRCS})
target_link_libraries(okularGenerator_djvu okularcore ${DJVULIBRE_LIBRARY} ${KDE4_KDEUI_LIBS} ${QT_QTXML_LIBRARY})
target_link_libraries(okularGenerator_djvu okularcore ${DJVULIBRE_LIBRARY} KF5::KDELibs4Support Qt5::Gui Qt5::PrintSupport)
install(TARGETS okularGenerator_djvu DESTINATION ${PLUGIN_INSTALL_DIR})
......
......@@ -23,12 +23,13 @@
#include <qpixmap.h>
#include <qstring.h>
#include <quuid.h>
#include <QtGui/QPrinter>
#include <QPrinter>
#include <KAboutData>
#include <QtCore/QDebug>
#include <klocale.h>
#include <qtemporaryfile.h>
#include <KLocalizedString>
#include <QDir>
static void recurseCreateTOC( QDomDocument &maindoc, const QDomNode &parent, QDomNode &parentDestination, KDjVu *djvu )
......@@ -70,9 +71,9 @@ static void recurseCreateTOC( QDomDocument &maindoc, const QDomNode &parent, QDo
static KAboutData createAboutData()
{
KAboutData aboutData(
"okular_djvu",
QStringLiteral("okular_djvu"),
i18n( "DjVu Backend" ),
"0.2.3",
QStringLiteral("0.2.3"),
i18n( "DjVu backend based on DjVuLibre." ),
KAboutLicense::GPL,
i18n( "© 2006-2008 Pino Toscano" ));
......
......@@ -20,9 +20,9 @@ ki18n_wrap_ui(okularGenerator_ghostview_SRCS
kconfig_add_kcfg_files(okularGenerator_ghostview_SRCS conf/gssettings.kcfgc )
kde4_add_plugin(okularGenerator_ghostview ${okularGenerator_ghostview_SRCS})
add_library(okularGenerator_ghostview MODULE ${okularGenerator_ghostview_SRCS})
target_link_libraries(okularGenerator_ghostview okularcore ${LIBSPECTRE_LIBRARY} ${KDE4_KDEUI_LIBS} ${QT_QTXML_LIBRARY})
target_link_libraries(okularGenerator_ghostview okularcore ${LIBSPECTRE_LIBRARY} KF5::KDELibs4Support Qt5::Xml Qt5::PrintSupport)
install(TARGETS okularGenerator_ghostview DESTINATION ${PLUGIN_INSTALL_DIR})
......
......@@ -15,7 +15,7 @@
#include <qpainter.h>
#include <qpixmap.h>
#include <qsize.h>
#include <QtGui/QPrinter>
#include <QPrinter>
#include <KAboutData>
#include <kconfigdialog.h>
......@@ -25,6 +25,7 @@
#include <ktemporaryfile.h>
#include <KDebug>
#include <QDir>
#include <KLocalizedString>
#include <core/document.h>
#include <core/page.h>
......@@ -39,9 +40,9 @@
static KAboutData createAboutData()
{
KAboutData aboutData(
"okular_ghostview",
QStringLiteral("okular_ghostview"),
i18n( "PS Backend" ),
"0.1.7",
QStringLiteral("0.1.7"),
i18n( "A PostScript file renderer." ),
KAboutLicense::GPL,
i18n( "© 2007-2008 Albert Astals Cid" ),
......
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