mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2024-11-24 03:35:54 +01:00
54 lines
1.1 KiB
Prolog
54 lines
1.1 KiB
Prolog
TARGET = pbf
|
|
TEMPLATE = lib
|
|
CONFIG += plugin
|
|
QT += gui
|
|
|
|
PROTOS = protobuf/vector_tile.proto
|
|
include(protobuf/vector_tile.pri)
|
|
|
|
INCLUDEPATH += ./protobuf
|
|
HEADERS += src/pbfhandler.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
|
|
SOURCES += src/pbfplugin.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
|
|
RESOURCES += pbfplugin.qrc
|
|
|
|
unix:!macx{
|
|
LIBS += -lprotobuf-lite \
|
|
-lz
|
|
}
|
|
win32 {
|
|
INCLUDEPATH += $$PROTOBUF/include \
|
|
$$ZLIB/include
|
|
LIBS += $$PROTOBUF/lib/libprotobuf-lite.lib \
|
|
$$ZLIB/lib/zlibstatic.lib
|
|
}
|
|
macx {
|
|
INCLUDEPATH += $$PROTOBUF/include
|
|
LIBS += $$PROTOBUF/lib/libprotobuf-lite.a \
|
|
-lz
|
|
}
|
|
|
|
target.path += $$[QT_INSTALL_PLUGINS]/imageformats
|
|
INSTALLS += target
|