[Qt-creator] QtCreator 4.2 cannot parse qobject.h?
guenterlists at schwann.at
Thu Dec 15 10:48:46 CET 2016
Am 15.12.2016 um 09:51 schrieb Nikolai Kosjar:
> 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
>> 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
It seems it's caused by disabling the Qt keywords. There is a bugreport
for this already:
More information about the Qt-creator