Add includes to the codemodel specified via PKGCONFIG in .pro files

We run pkg-config --cflags-only-I $$PKGCONFIG in the background to find
those includes.

Task-Nr: 250195
This commit is contained in:
dt
2009-05-13 18:09:47 +02:00
parent 5321950d40
commit 286325ceb6
3 changed files with 18 additions and 2 deletions

View File

@@ -719,6 +719,7 @@ void Qt4ProFileNode::update()
newVarValues[IncludePathVar] = includePaths(reader);
newVarValues[UiDirVar] = uiDirPaths(reader);
newVarValues[MocDirVar] = mocDirPaths(reader);
newVarValues[PkgConfigVar] = reader->values(QLatin1String("PKGCONFIG"));
if (m_varValues != newVarValues) {
m_varValues = newVarValues;