1927.1.1
by Adam Reichold
Add simple image plug-in using Qt's built-in image I/O routines. |
1 |
include(qpdfview.pri) |
2 |
||
3 |
TARGET = qpdfview_image |
|
4 |
TEMPLATE = lib |
|
5 |
CONFIG += plugin |
|
6 |
static_image_plugin:CONFIG += static |
|
7 |
||
8 |
TARGET_SHORT = qpdfimg |
|
9 |
!isEmpty(PLUGIN_DESTDIR): DESTDIR = $$PLUGIN_DESTDIR |
|
10 |
||
11 |
OBJECTS_DIR = objects-image |
|
12 |
MOC_DIR = moc-image |
|
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/imagemodel.h |
1927.1.1
by Adam Reichold
Add simple image plug-in using Qt's built-in image I/O routines. |
15 |
SOURCES = sources/imagemodel.cpp |
16 |
||
17 |
QT += core gui |
|
18 |
||
19 |
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets |
|
20 |
||
21 |
!static_image_plugin { |
|
22 |
target.path = $${PLUGIN_INSTALL_PATH} |
|
23 |
INSTALLS += target |
|
24 |
}
|