[Qt-creator] QtCreator 4.2 cannot parse qobject.h?

Guenter Schwann guenterlists at schwann.at
Thu Dec 15 09:40:58 CET 2016


Hi,

I upgraded to QtCreator 4.2. And I'm using the clang code model.
I get the following warning when opening a file:

"The code model could not parse an included file, which might lead to slow or 
incorrect code completion and highlighting, for example"

When showing the details
qobject.h:427:7 error: expected '.'

The line is public Q_SLOTS:

It's on Windows as well as on Linux. With a qmake and as well with a cmake 
project.
Any idea how to get rid of that warning? Or even better how to avoid/fix the 
error?

Guenter




More information about the Qt-creator mailing list