mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2024-11-24 03:35:54 +01:00
Added windows build stuff
This commit is contained in:
parent
d9d2042b03
commit
eee472dada
@ -3,8 +3,6 @@ TEMPLATE = lib
|
|||||||
CONFIG += plugin
|
CONFIG += plugin
|
||||||
QT += gui widgets
|
QT += gui widgets
|
||||||
|
|
||||||
VERSION = 1.0.0
|
|
||||||
|
|
||||||
PROTOS = protobuf/vector_tile.proto
|
PROTOS = protobuf/vector_tile.proto
|
||||||
include(protobuf/vector_tile.pri)
|
include(protobuf/vector_tile.pri)
|
||||||
|
|
||||||
@ -32,7 +30,16 @@ SOURCES += src/pbfplugin.cpp \
|
|||||||
src/textitem.cpp
|
src/textitem.cpp
|
||||||
RESOURCES += pbfplugin.qrc
|
RESOURCES += pbfplugin.qrc
|
||||||
|
|
||||||
LIBS += -lprotobuf-lite
|
unix {
|
||||||
|
LIBS += -lprotobuf-lite \
|
||||||
|
-lz
|
||||||
|
}
|
||||||
|
win32 {
|
||||||
|
INCLUDEPATH += $$PROTOBUF/include \
|
||||||
|
$$ZLIB/include
|
||||||
|
LIBS += $$PROTOBUF/lib/libprotobuf-lite.lib \
|
||||||
|
$$ZLIB/lib/zlibstatic.lib
|
||||||
|
}
|
||||||
|
|
||||||
target.path += $$[QT_INSTALL_PLUGINS]/imageformats
|
target.path += $$[QT_INSTALL_PLUGINS]/imageformats
|
||||||
INSTALLS += target
|
INSTALLS += target
|
||||||
|
Loading…
Reference in New Issue
Block a user