File: fitz-plugin.pro

package info (click to toggle)
qpdfview 0.5.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,204 kB
  • sloc: cpp: 20,343; xml: 53; sh: 32; makefile: 11
file content (30 lines) | stat: -rw-r--r-- 650 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
include(qpdfview.pri)

TARGET = qpdfview_fitz
TEMPLATE = lib
CONFIG += plugin
static_fitz_plugin:CONFIG += static

TARGET_SHORT = qpdffitz
!isEmpty(PLUGIN_DESTDIR): DESTDIR = $$PLUGIN_DESTDIR

OBJECTS_DIR = objects-fitz
MOC_DIR = moc-fitz

HEADERS = sources/model.h sources/fitzmodel.h
SOURCES = sources/fitzmodel.cpp

QT += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

DEFINES += $$FITZ_PLUGIN_DEFINES
INCLUDEPATH += $$FITZ_PLUGIN_INCLUDEPATH

isEmpty(FITZ_PLUGIN_LIBS):FITZ_PLUGIN_LIBS = -lmupdf -lmupdf-third -ljpeg
LIBS += $$FITZ_PLUGIN_LIBS

!static_fitz_plugin {
    target.path = $${PLUGIN_INSTALL_PATH}
    INSTALLS += target
}