2011-12-25

Eclipse Indigo CDT 8.0.x Mac OS X Qt4 Indexer Fix

Run:
ln -s /Library/Frameworks/QtCore.framework/Headers /usr/include/QtCore
ln -s /Library/Frameworks/QtGui.framework/Headers /usr/include/QtGui
ln -s /Library/Frameworks/QtDBus.framework/Headers /usr/include/QtDBus
ln -s /Library/Frameworks/QtDesigner.framework/Headers /usr/include/QtDesigner
ln -s /Library/Frameworks/QtDesignerComponents.framework/Headers /usr/include/QtDesignerComponents
ln -s /Library/Frameworks/QtHelp.framework/Headers /usr/include/QtHelp
ln -s /Library/Frameworks/QtMultimedia.framework/Headers /usr/include/QtMultimedia
ln -s /Library/Frameworks/QtNetwork.framework/Headers /usr/include/QtNetwork
ln -s /Library/Frameworks/QtOpenGL.framework/Headers /usr/include/QtOpenGL
ln -s /Library/Frameworks/QtScript.framework/Headers /usr/include/QtScript
ln -s /Library/Frameworks/QtScriptTools.framework/Headers /usr/include/QtScriptTools
ln -s /Library/Frameworks/QtSql.framework/Headers /usr/include/QtSql
ln -s /Library/Frameworks/QtTest.framework/Headers /usr/include/QtTest
ln -s /Library/Frameworks/QtWebKit.framework/Headers /usr/include/QtWebKit
ln -s /Library/Frameworks/QtXml.framework/Headers /usr/include/QtXml
ln -s /Library/Frameworks/QtXmlPatterns.framework/Headers /usr/include/QtXmlPatterns
Go to project properties > C/C++ Build > Discovery Options, change Discovery profiles scope to "Configuration-wide"
(Clean and re)build the project.
Rebuild index.

No comments: