From 07337def652a13002ccc98d77bb1a13372bba26f Mon Sep 17 00:00:00 2001
From: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Date: Tue, 4 Jun 2013 20:59:08 +0200
Subject: [PATCH] don't add absent private include paths to non-git builds

all private headers are created by syncqt (and are thus in the source
dir), so we can simply override the normal (build dir based) paths
instead of extending them.

Change-Id: I9c1f3344c401b481b3f3d2295515f1aabffaa9a0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
---
 mkspecs/features/qt_module_pris.prf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mkspecs/features/qt_module_pris.prf b/mkspecs/features/qt_module_pris.prf
index 11f56198d1e..666989f75ec 100644
--- a/mkspecs/features/qt_module_pris.prf
+++ b/mkspecs/features/qt_module_pris.prf
@@ -63,10 +63,10 @@ else: \
         force_independent {
             MODULE_FWD_PRI_CONT_SUFFIX = \
                 "QT.$${MODULE}.includes += $$pub_inc" \
-                "QT.$${MODULE}.private_includes += $$priv_inc"
+                "QT.$${MODULE}.private_includes = $$priv_inc"
         } else {
             MODULE_INCLUDES += $$pub_inc
-            MODULE_PRIVATE_INCLUDES += $$priv_inc
+            MODULE_PRIVATE_INCLUDES = $$priv_inc
         }
     }
     MODULE_PRI_CONT = \
-- 
GitLab