[Qt-creator] Code completion doesn't work with ClangCodeModel

Erik Verbruggen erik.verbruggen at digia.com
Mon Jan 20 14:54:16 CET 2014


On 14-1-2014 13:27, Yang Fan wrote:
> Here is another problem, it's on Mac OS X 10.9, and the binaries was
> downloaded from the official website, but got the error messages below:
>
> Here we go with ClangCompletionAssistProcessor....
> *** Reparse for highlighting took 146 ms.
> "warning" "/Users/yangfan/Development/Shareware/istkani/src/main.cpp"
> [1:1(0)] "'QtCore/qcoreapplication.h' file not found
>    in file included from
> /Users/yangfan/Development/Shareware/istkani/src/main.cpp:1:
>    in file included from
> /Users/yangfan/Development/Shareware/istkani/src/main.cpp:1:
>    in file included from
> /Users/yangfan/Qt5.2.0/5.2.0/clang_64/lib/QtWidgets.framework/Headers/QApplication:1:"
>

Can you check if the right include and framework paths get supplied to 
libclang when invoking the completion?

-- Erik.




More information about the Qt-creator mailing list