Bug 441571 - IDE cannot resolve symbols that the toolchain itself has no problem resolving
Summary: IDE cannot resolve symbols that the toolchain itself has no problem resolving
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: QMake (show other bugs)
Version: 5.6.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-26 13:15 UTC by Szczepan Hołyszewski
Modified: 2021-08-26 13:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Thoroughly confused IDE (25.41 KB, image/png)
2021-08-26 13:15 UTC, Szczepan Hołyszewski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Szczepan Hołyszewski 2021-08-26 13:15:17 UTC
Created attachment 141065 [details]
Thoroughly confused IDE

SUMMARY

Can you guys sit down an intern for a week and tell her to actually test every last one of the project templates you ship with KDevelop? It's ridiculous that a project created using one of the templates builds and runs successfully, but the IDE shows a ton of undersquiggles in source files, being unable to resolve symbols and include files that the toolchain itself had no problem resolving, as evidenced by the binary being successfully produced.

STEPS TO REPRODUCE

1. Project -> New from template... -> Qt -> Grahical (QMake-based) -> QtQuick 2 program
2. Build the project and run the executable to verify that it builds successfully
3. Open src/main.cpp in the IDE

OBSERVED RESULT

See attachment.

EXPECTED RESULT

The IDE should be able to figure out every symbol and include file that the toolchain itself was able to figure out.

SOFTWARE/OS VERSIONS

Operating System: Arch Linux
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Kernel Version: 5.13.12-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 8 × AMD FX(tm)-8320 Eight-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 960/PCIe/SSE2