From: Marius Storm-Olsen Date: Fri, 27 May 2011 18:43:30 +0000 (-0500) Subject: Only add dependent include when not already there X-Git-Tag: qt-v5.0.0-alpha1~4229 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a4ecb10eff83747ed0fec220071d6649722dc1a7;p=profile%2Fivi%2Fqtbase.git Only add dependent include when not already there Change-Id: I517ad8188a6f6b5ade763f0189f434f446ab6f05 Reviewed-on: http://codereview.qt.nokia.com/198 Reviewed-by: Marius Storm-Olsen --- diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf index c611096..3791c95 100644 --- a/mkspecs/features/qt.prf +++ b/mkspecs/features/qt.prf @@ -160,7 +160,7 @@ for(QTLIB, $$list($$lower($$unique(QT)))) { # add include paths for all .depends, since module/application might need f.ex. template specializations etc. QT_DEPENDS -= $$QT -for(QTLIB, $$list($$lower($$unique(QT_DEPENDS)))):INCLUDEPATH += $$INCLUDEPATH $$eval(QT.$${QTLIB}.includes) +for(QTLIB, $$list($$lower($$unique(QT_DEPENDS)))):INCLUDEPATH *= $$INCLUDEPATH $$eval(QT.$${QTLIB}.includes) !isEmpty(using_privates):!no_private_qt_headers_warning:if(!debug_and_release|!build_pass) { message("This project is using private headers and will therefore be tied to this specific Qt module build version.")