projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b88c6fb
)
Include headers.pri from the last path in MODULE_INCLUDES
author
Prasanth Ullattil
<prasanth.ullattil@nokia.com>
Wed, 26 Jan 2011 08:44:09 +0000
(09:44 +0100)
committer
axis
<qt-info@nokia.com>
Wed, 27 Apr 2011 10:05:55 +0000
(12:05 +0200)
src/qbase.pri
patch
|
blob
|
history
diff --git
a/src/qbase.pri
b/src/qbase.pri
index
a875a56
..
4ff1763
100644
(file)
--- a/
src/qbase.pri
+++ b/
src/qbase.pri
@@
-16,7
+16,10
@@
isEmpty(QT_MAJOR_VERSION) {
#load up the headers info
CONFIG += qt_install_headers
-HEADERS_PRI = $$MODULE_INCLUDES/headers.pri
+#headers.pri is loaded from the last include path
+LAST_MODULE_INCLUDE=$$MODULE_INCLUDES
+for(include_path, MODULE_INCLUDES):LAST_MODULE_INCLUDE=$${include_path}
+HEADERS_PRI = $$LAST_MODULE_INCLUDE/headers.pri
include($$HEADERS_PRI, "", true)|clear(HEADERS_PRI)
#version overriding