[Qt-creator] compile_commands.json - unable to build when switching between build configurations

Andrzej Telszewski andrzej at telszewski.com
Wed Oct 1 10:11:04 CEST 2025


Works now as expected in 17.0.2.

Thank you! :)

On 19/09/2025 14:15, Christian Kandeler via Qt-creator wrote:
> https://codereview.qt-project.org/c/qt-creator/qt-creator/+/677309
>
> On 9/18/25 3:19 PM, Andrzej Telszewski wrote:
>> On 18/09/2025 15:06, Christian Kandeler via Qt-creator wrote:
>>> On 9/18/25 2:52 PM, Andrzej Telszewski wrote:
>>>> Hi,
>>>>
>>>> QtC version 17.0.1
>>>>
>>>> I'm using compile_commands.json based project.
>>>>
>>>> When switching the build configuration, I'm unable to build.
>>>> The message says "The project could not be fully parsed."
>>>
>>> I cannot reproduce this. Please create a bug report with all the 
>>> relevant details, ideally including a minimal test project.
>>>
>>>
>>> Christian
>>>
>>
>> For me it reproduces with as simple project as:
>>
>> echo '[]' > compile_commands.json
>>
>> After that, I add another build configuration.
>> Then it seems I need to close QtC and open it again.
>> After that, switching between configurations prevents building the 
>> one that _wasn't active_ at the moment
>> the project was opened.
>>
>> Please let me know if that's sufficient for you.
>> If not, then I'll go and create the bug ticket.
>>
>> Thanks!
>>



More information about the Qt-creator mailing list