-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpbfplugin.pro
63 lines (57 loc) · 1.29 KB
/
pbfplugin.pro
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
TARGET = pbf
TEMPLATE = lib
CONFIG += plugin
QT += gui
VERSION = 4.1
HEADERS += src/pbfhandler.h \
src/data.h \
src/pbfplugin.h \
src/gzip.h \
src/pbf.h \
src/style.h \
src/color.h \
src/text.h \
src/tile.h \
src/function.h \
src/textpathitem.h \
src/textpointitem.h \
src/font.h \
src/textitem.h \
src/sprites.h
SOURCES += src/pbfplugin.cpp \
src/data.cpp \
src/pbfhandler.cpp \
src/gzip.cpp \
src/pbf.cpp \
src/style.cpp \
src/color.cpp \
src/text.cpp \
src/function.cpp \
src/textpathitem.cpp \
src/textpointitem.cpp \
src/font.cpp \
src/sprites.cpp \
src/textitem.cpp
RESOURCES += pbfplugin.qrc
DEFINES += QT_NO_DEPRECATED_WARNINGS
unix:!macx:!android {
LIBS += -lz
target.path += $$[QT_INSTALL_PLUGINS]/imageformats
INSTALLS += target
}
win32 {
INCLUDEPATH += $$ZLIB/include
LIBS += $$ZLIB/lib/zlibstatic.lib
QMAKE_TARGET_PRODUCT = QtPBFImagePlugin
QMAKE_TARGET_DESCRIPTION = Qt $$QT_VERSION MVT/PBF image plugin
QMAKE_TARGET_COPYRIGHT = Copyright (c) 2018-2025 Martin Tuma
}
macx {
LIBS += -lz
}
android {
LIBS += -lz
top_builddir=$$shadowed($$PWD)
DESTDIR = $$top_builddir/plugins
TARGET = $$qt5LibraryTarget(libpbf, "plugins/imageformats/")
}