diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-03-30 14:54:57 +0200 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-03-30 14:55:16 +0200 |
commit | 2a82d9272a2d5b6f34a7fc9f5553ebeed2defca6 (patch) | |
tree | a3fc530bf5094154826555d07297404c7bee5419 /src | |
parent | 9d187706aa38d5012c37574769708d24b5bac393 (diff) | |
download | qt-creator-2a82d9272a2d5b6f34a7fc9f5553ebeed2defca6.tar.gz |
Compile
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/projectexplorer/toolchain.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/toolchain.cpp b/src/plugins/projectexplorer/toolchain.cpp index 97ea6a7b39..e961f63db0 100644 --- a/src/plugins/projectexplorer/toolchain.cpp +++ b/src/plugins/projectexplorer/toolchain.cpp @@ -361,10 +361,19 @@ QList<HeaderPath> WinCEToolChain::systemHeaderPaths() //TODO fix this code ProjectExplorer::Environment env = ProjectExplorer::Environment::systemEnvironment(); addToEnvironment(env); + + QList<HeaderPath> headerPaths; + #ifdef QTCREATOR_WITH_MSVC_INCLUDES - return env.value("INCLUDE").split(QLatin1Char(';')); + const QStringList includes = env.value("INCLUDE").split(QLatin1Char(';')); + + foreach (const QString &path, includes) { + const HeaderPath headerPath(path, HeaderPath::GlobalHeaderPath); + headerPaths.append(headerPath); + } #endif - return QList<HeaderPath>(); + + return headerPaths; } void WinCEToolChain::addToEnvironment(ProjectExplorer::Environment &env) |