1.2.13
by Benjamin Eltzner
Import upstream version 0.4.9 |
1 |
include(qpdfview.pri) |
2 |
||
3 |
TARGET = qpdfview_djvu |
|
4 |
TEMPLATE = lib |
|
5 |
CONFIG += plugin |
|
6 |
static_djvu_plugin:CONFIG += static |
|
7 |
||
8 |
TARGET_SHORT = qpdfdjvu |
|
9 |
!isEmpty(PLUGIN_DESTDIR): DESTDIR = $$PLUGIN_DESTDIR |
|
10 |
||
11 |
OBJECTS_DIR = objects-djvu |
|
12 |
MOC_DIR = moc-dvju |
|
13 |
||
14 |
HEADERS = sources/global.h sources/model.h sources/djvumodel.h |
|
15 |
SOURCES = sources/djvumodel.cpp |
|
16 |
||
17 |
QT += core gui |
|
18 |
||
19 |
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets |
|
20 |
||
21 |
!without_pkgconfig { |
|
22 |
CONFIG += link_pkgconfig |
|
23 |
PKGCONFIG += ddjvuapi |
|
24 |
} else { |
|
25 |
DEFINES += $$DJVU_PLUGIN_DEFINES |
|
26 |
INCLUDEPATH += $$DJVU_PLUGIN_INCLUDEPATH |
|
27 |
LIBS += $$DJVU_PLUGIN_LIBS |
|
28 |
}
|
|
29 |
||
30 |
!static_dvju_plugin { |
|
31 |
target.path = $${PLUGIN_INSTALL_PATH} |
|
32 |
INSTALLS += target |
|
33 |
}
|