summaryrefslogtreecommitdiff
path: root/src/svg/svg.pro
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-07-29 18:36:58 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-07-30 11:42:56 +0200
commitcfd6618b3b9526bc82410411249692a32f29ee88 (patch)
tree31eb4b8b733f8a5c148d5dea6f71a23b71a1a742 /src/svg/svg.pro
parent74df40dc55a9f21dff726e03d4926ab6a953d002 (diff)
downloadqtsvg-cfd6618b3b9526bc82410411249692a32f29ee88.tar.gz
fix shadow build with -qt-zlib and pre-generated headers
Task-number: QTBUG-32641 Change-Id: Ifefa62ff8ce50207de47caf958c96f8b033ebc23 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/svg/svg.pro')
-rw-r--r--src/svg/svg.pro5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/svg/svg.pro b/src/svg/svg.pro
index ee18997..5527fa1 100644
--- a/src/svg/svg.pro
+++ b/src/svg/svg.pro
@@ -48,5 +48,8 @@ contains(QT_CONFIG, system-zlib) {
if(unix|win32-g++*): LIBS_PRIVATE += -lz
else: LIBS += zdll.lib
} else {
- INCLUDEPATH += $$[QT_INSTALL_HEADERS/get]/QtZlib
+ git_build: \
+ INCLUDEPATH += $$[QT_INSTALL_HEADERS/get]/QtZlib
+ else: \
+ INCLUDEPATH += $$[QT_INSTALL_HEADERS/src]/QtZlib
}