make headers.pri locality determination less convoluted
the location is determined by syncqt rather precisely. no need to reverse-engineer config files. $$HEADERS_PRI doesn't seem used anywhere, so don't set it as a side effect. Change-Id: I54a63356c350c0ddae4c880bf374fcd127282429 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
This commit is contained in:
parent
a8ad1e77ba
commit
b2dc56d5cf
@ -34,12 +34,8 @@ INCLUDEPATH *= $$MODULE_PRIVATE_INCLUDES
|
||||
INCLUDEPATH *= $$MODULE_PRIVATE_INCLUDES/$$TARGET
|
||||
INCLUDEPATH *= $$MODULE_INCLUDES $$MODULE_INCLUDES/.. #just for today to have some compat
|
||||
|
||||
#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
|
||||
#load up the headers info
|
||||
include($$HEADERS_PRI, "", true)|clear(HEADERS_PRI)
|
||||
include($$MODULE_BASE_OUTDIR/include/$$TARGET/headers.pri, "", true)
|
||||
|
||||
#other
|
||||
TEMPLATE = lib
|
||||
|
Loading…
Reference in New Issue
Block a user