8edfc4e9b6
our zlib header includes qglobal.h, so we need the qtcore include dirs, and qtcore is also where the actual code is compiled into. Change-Id: I09f530a1b4e6160438215a6d7223c0771ce94f05 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
15 lines
354 B
Plaintext
15 lines
354 B
Plaintext
# zlib dependency satisfied by bundled 3rd party zlib or system zlib
|
|
contains(QT_CONFIG, system-zlib) {
|
|
if(unix|mingw):LIBS_PRIVATE += -lz
|
|
else {
|
|
isEmpty(ZLIB_LIBS): LIBS += zdll.lib
|
|
else: LIBS += $$ZLIB_LIBS
|
|
}
|
|
} else {
|
|
INCLUDEPATH += $$PWD/zlib
|
|
!no_core_dep {
|
|
CONFIG += qt
|
|
QT_PRIVATE += core
|
|
}
|
|
}
|