aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2018-03-10 15:09:31 +0000
committerWeblate <noreply@weblate.org>2018-03-10 15:09:31 +0000
commite823783499a7b2f8c3cbfb24ae428b39311bee5e (patch)
tree74138f1e34b8f090f62bd5412f38b8e185209302 /src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro
parentTranslated using Weblate (Italian) (diff)
parentAdd the beginnings of the new window frame (widgets-based) (diff)
downloadlumina-e823783499a7b2f8c3cbfb24ae428b39311bee5e.tar.gz
lumina-e823783499a7b2f8c3cbfb24ae428b39311bee5e.tar.bz2
lumina-e823783499a7b2f8c3cbfb24ae428b39311bee5e.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro')
-rw-r--r--src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro15
1 files changed, 13 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro b/src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro
index 8ee67d06..8ed0e9f3 100644
--- a/src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro
+++ b/src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro
@@ -25,12 +25,23 @@ SOURCES += main.cpp \
HEADERS += mainUI.h \
PrintWidget.h \
PresentationLabel.h \
- PropDialog.h
+ PropDialog.h \
+ Renderer.h \
+ textData.h
FORMS += mainUI.ui \
propDialog.ui
-LIBS += -lpoppler-qt5
+isEmpty(USE_MUPDF){
+ message("Using Poppler-Qt5 Backend")
+ LIBS += -lpoppler-qt5
+ SOURCES += Renderer-poppler.cpp
+}else{
+ message("Using MuPDF Backend")
+ LIBS += -lmupdf -lmupdfthird
+ SOURCES += Renderer-mupdf.cpp
+
+}
TRANSLATIONS = i18n/l-pdf_af.ts \
i18n/l-pdf_ar.ts \
bgstack15