summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/zlib_dependency.pri
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-05-04 16:08:37 +0200
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-05-09 12:52:08 +0000
commit8edfc4e9b61d7029e90423b4e5daca87fb5a82b8 (patch)
tree69d824cc2a2664f2b9502f716bb97e078223b501 /src/3rdparty/zlib_dependency.pri
parentdb66629dddfed8e129977bec72a9a3fe0468f466 (diff)
make zlib_dependency auto-add QtCore as a private dep
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>
Diffstat (limited to 'src/3rdparty/zlib_dependency.pri')
-rw-r--r--src/3rdparty/zlib_dependency.pri4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/3rdparty/zlib_dependency.pri b/src/3rdparty/zlib_dependency.pri
index 0bcb9f9e5e..53e0b3ef39 100644
--- a/src/3rdparty/zlib_dependency.pri
+++ b/src/3rdparty/zlib_dependency.pri
@@ -7,4 +7,8 @@ contains(QT_CONFIG, system-zlib) {
}
} else {
INCLUDEPATH += $$PWD/zlib
+ !no_core_dep {
+ CONFIG += qt
+ QT_PRIVATE += core
+ }
}