Skip to content
Snippets Groups Projects
Commit 2a82d927 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Compile

parent 9d187706
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment