forked from qt-creator/qt-creator
Add the path to the installed Qt Frameworks on Mac.
Otherwise all the Qt headers might not be found at all. Task-number: QTCREATORBUG-1377 Reviewed-by: Tobias Hunger Reviewed-by: Erik Verbruggen
This commit is contained in:
@@ -426,6 +426,10 @@ void Qt4Project::updateCppCodeModel()
|
||||
QStringList predefinedFrameworkPaths;
|
||||
QByteArray predefinedMacros;
|
||||
|
||||
QString qtFrameworkPath = activeBC->qtVersion()->frameworkInstallPath();
|
||||
if (!qtFrameworkPath.isEmpty())
|
||||
predefinedFrameworkPaths.append(qtFrameworkPath);
|
||||
|
||||
ToolChain *tc = activeBC->toolChain();
|
||||
if (tc) {
|
||||
predefinedMacros = tc->predefinedMacros();
|
||||
|
||||
Reference in New Issue
Block a user