[Qt-creator] How to change default parse context?

Christian Kandeler christian.kandeler at qt.io
Wed Jan 24 10:27:20 CET 2024


On 1/23/24 18:14, Andrzej Telszewski wrote:
> [You don't often get email from andrzej at telszewski.com. Learn why this 
> is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> On 23/01/2024 10:37, Christian Kandeler via Qt-creator wrote:
>> On 1/23/24 09:20, Andrzej Telszewski wrote:
>>> I'm using _Imported_ project, which is a C one.
>>> Unfortunately, the _Active Parse Context_ for opened header files
>>> defaults to C++.
>>
>> In a pure C project, there should only be a single parse context. Most
>> likely you do have some C++ sources in there. If not, you should file
>> a bug report with a project attached.
>>
>
> Is there a way to debug which files are considered C++?
>
Tools->Debug Qt Creator -> Inspect C++ code model

lists the project parts.


Christian



More information about the Qt-creator mailing list