[Qt-creator] QtCreator 4.2 cannot parse qobject.h?
nikolai.kosjar at qt.io
Thu Dec 15 09:51:26 CET 2016
On 12/15/2016 09:40 AM, Guenter Schwann wrote:
> 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
> Any idea how to get rid of that warning? Or even better how to avoid/fix the
Hmm, I don't see this. Please create a report for the C/C++ Component at
with some debugging output - see
https://wiki.qt.io/Qt_Creator_Clang_Code_Model. State also your used
More information about the Qt-creator