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
31
32
33
|
include(qpdfview.pri)
TARGET = qpdfview_ps
TEMPLATE = lib
CONFIG += plugin
static_ps_plugin:CONFIG += static
TARGET_SHORT = qpdfps
!isEmpty(PLUGIN_DESTDIR): DESTDIR = $$PLUGIN_DESTDIR
OBJECTS_DIR = objects-ps
MOC_DIR = moc-ps
HEADERS = sources/global.h sources/model.h sources/psmodel.h
SOURCES = sources/psmodel.cpp
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
!without_pkgconfig {
CONFIG += link_pkgconfig
PKGCONFIG += libspectre
} else {
DEFINES += $$PS_PLUGIN_DEFINES
INCLUDEPATH += $$PS_PLUGIN_INCLUDEPATH
LIBS += $$PS_PLUGIN_LIBS
}
!static_ps_plugin {
target.path = $${PLUGIN_INSTALL_PATH}
INSTALLS += target
}
|