aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro')
-rw-r--r--src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro16
1 files changed, 13 insertions, 3 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro b/src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro
index bf0d3665..8ed0e9f3 100644
--- a/src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro
+++ b/src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro
@@ -25,13 +25,23 @@ SOURCES += main.cpp \
HEADERS += mainUI.h \
PrintWidget.h \
PresentationLabel.h \
- PropDialog.h \
- textData.h
+ PropDialog.h \
+ Renderer.h \
+ textData.h
FORMS += mainUI.ui \
propDialog.ui
-LIBS += -lpoppler-qt5 -lmupdf -lmujs
+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