846
by Adam Reichold
added plug-in infrastructure |
1 |
include(qpdfview.pri) |
2 |
||
853
by Adam Reichold
enable the use of static plug-ins |
3 |
TARGET = qpdfview_ps |
846
by Adam Reichold
added plug-in infrastructure |
4 |
TEMPLATE = lib |
5 |
CONFIG += plugin |
|
853
by Adam Reichold
enable the use of static plug-ins |
6 |
static_ps_plugin:CONFIG += static |
846
by Adam Reichold
added plug-in infrastructure |
7 |
|
1167
by Adam Reichold
improve build system generality and building on Win32 and OS/2 |
8 |
TARGET_SHORT = qpdfps |
9 |
!isEmpty(PLUGIN_DESTDIR): DESTDIR = $$PLUGIN_DESTDIR |
|
10 |
||
856
by Adam Reichold
small clean-ups in the project files |
11 |
OBJECTS_DIR = objects-ps |
12 |
MOC_DIR = moc-ps |
|
849
by Adam Reichold
fix object file name collisions |
13 |
|
1927.1.2
by Adam Reichold
Add support for image format detection for Qt4 and make sure MOC will include the document model meta-objects for the plug-ins. |
14 |
HEADERS = sources/model.h sources/psmodel.h |
1046.1.30
by Adam Reichold
merge model header and source and remove some redundant includes |
15 |
SOURCES = sources/psmodel.cpp |
846
by Adam Reichold
added plug-in infrastructure |
16 |
|
17 |
QT += core gui |
|
18 |
||
1010
by Adam Reichold
add some missing module dependencies for Qt5 and prepare a simple |
19 |
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets |
20 |
||
846
by Adam Reichold
added plug-in infrastructure |
21 |
!without_pkgconfig { |
22 |
CONFIG += link_pkgconfig |
|
23 |
PKGCONFIG += libspectre |
|
1167
by Adam Reichold
improve build system generality and building on Win32 and OS/2 |
24 |
} else { |
25 |
DEFINES += $$PS_PLUGIN_DEFINES |
|
26 |
INCLUDEPATH += $$PS_PLUGIN_INCLUDEPATH |
|
27 |
LIBS += $$PS_PLUGIN_LIBS |
|
846
by Adam Reichold
added plug-in infrastructure |
28 |
}
|
29 |
||
854
by Adam Reichold
do not install static plug-ins |
30 |
!static_ps_plugin { |
31 |
target.path = $${PLUGIN_INSTALL_PATH} |
|
32 |
INSTALLS += target |
|
33 |
}
|