summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_functions.prf
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-08-13 15:35:35 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-15 09:18:58 +0200
commit07e187a3418b1ee6386f9cdee8c14ba0d01636f7 (patch)
treee6230eca7c02bf478aa8348b3343719794194bff /mkspecs/features/qt_functions.prf
parent17adbb232bfc8972ba54cbea3be9dbb24d9b4dfc (diff)
make .private_includes in module pri files "self-contained"
this puts the whole logic of assembling those paths into qt_module. Change-Id: Iafbe3969e3092e294bdb8243b2dffa7a899a7eb8 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'mkspecs/features/qt_functions.prf')
-rw-r--r--mkspecs/features/qt_functions.prf8
1 files changed, 1 insertions, 7 deletions
diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
index a8f4d34268..724d0276ae 100644
--- a/mkspecs/features/qt_functions.prf
+++ b/mkspecs/features/qt_functions.prf
@@ -51,13 +51,7 @@ defineTest(qtAddModule) {
INCLUDEPATH *= $$MODULE_INCLUDES
auto_use_privates|isEqual(2, UsePrivate) { # Tests function parameter 2 ($$2) being equal to 'UsePrivate'
- # This adds both
- # <module privates include path>/
- # and <module privates include path>/<module name>
- # since we have code using both #include <QtCore/private/foo> and #include <private/foo>
- # Both need to be supported with the new private includes structure
- MODULE_INCLUDES_PRIVATES = $$eval(QT.$${1}.private_includes)
- INCLUDEPATH += $$MODULE_INCLUDES_PRIVATES $$MODULE_INCLUDES_PRIVATES/$$MODULE_NAME
+ INCLUDEPATH += $$eval(QT.$${1}.private_includes)
}
unset(LINKAGE)