aboutsummaryrefslogtreecommitdiff
path: root/src-qt5
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-03-30 11:10:44 -0400
committerKen Moore <ken@ixsystems.com>2018-03-30 11:10:44 -0400
commit14b456b4f0151b70fe20b88c06a58bc33824cff3 (patch)
treeb7f6e02e491158a735c07572d76dce17149633c9 /src-qt5
parentadd icon for sort menu (diff)
downloadlumina-14b456b4f0151b70fe20b88c06a58bc33824cff3.tar.gz
lumina-14b456b4f0151b70fe20b88c06a58bc33824cff3.tar.bz2
lumina-14b456b4f0151b70fe20b88c06a58bc33824cff3.zip
Reset the default backend renderer to poppler.
The MuPDF stuff is **not** ready for prime-time yet.
Diffstat (limited to 'src-qt5')
-rw-r--r--src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro11
1 files changed, 6 insertions, 5 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro b/src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro
index 6ca51b79..c63386c0 100644
--- a/src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro
+++ b/src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro
@@ -36,14 +36,15 @@ FORMS += mainUI.ui \
PropDialog.ui \
BookmarkMenu.ui
-isEmpty(USE_POPPLER){
- message("Using MuPDF Backend")
- LIBS += -lmupdf -lmupdfthird
- SOURCES += Renderer-mupdf.cpp
-}else{
+isEmpty(USE_MUPDF) || !isEmpty(USE_POPPLER){
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 \
bgstack15