<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="note-text md">
<p dir="auto" data-sourcepos="1:1-2:52">Initially, I thought it's
a Qt Creator problem too and filed an issue there:<br>
<a rel="nofollow noreferrer noopener"
href="https://bugreports.qt.io/browse/QTCREATORBUG-28638"
target="_blank" class="moz-txt-link-freetext">https://bugreports.qt.io/browse/QTCREATORBUG-28638</a></p>
<p dir="auto" data-sourcepos="4:1-4:106">It happened out it's not
a bug but a feature, also backed by CMake maintainers (see the
link in the OP):</p>
<blockquote dir="auto" data-sourcepos="5:1-5:248">
<p data-sourcepos="5:3-5:248"><cite>The build system is our
source of truth for which file belongs to which project.
Earlier versions of Qt Creator attempted to work around
incomplete project files using heuristics, which lead to
various problems. We don't want to go back to that.</cite></p>
</blockquote>
<p dir="auto" data-sourcepos="7:1-7:118">So the issue was closed
as "Won't fix" upstream, and the only way to fix it seems to be
adjust our CMake files.</p>
<p dir="auto" data-sourcepos="9:1-11:57">We also tried to do it in
the other places:<br>
<a class="gfm gfm-merge_request" title="Show all headers in
qtc6" data-placement="top" data-container="body" data-iid="18"
data-project-path="plasma/polkit-kde-agent-1"
data-merge-request="48059" data-project="2374"
data-link-reference="true" data-link="false"
data-original="https://invent.kde.org/plasma/polkit-kde-agent-1/-/merge_requests/18"
data-reference-type="merge_request"
href="https://invent.kde.org/plasma/polkit-kde-agent-1/-/merge_requests/18"
data-popover-listener-added="true">polkit-kde-agent-1!18
(merged)</a><br>
So I really hope it won't face much resistance here, too.</p>
<p dir="auto" data-sourcepos="9:1-11:57"><br>
</p>
</div>
<p></p>
<div class="moz-cite-prefix">On 18.01.2023 15:01, David Redondo
wrote:<br>
</div>
<blockquote type="cite" cite="mid:5913108.lOV4Wx5bFT@david-desktop">
<pre class="moz-quote-pre" wrap="">Am Samstag, 7. Januar 2023, 16:40:27 CET schrieb Andrey Butirsky:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Other IDEs should benefit too.
</pre>
</blockquote>
</blockquote>
<pre class="moz-quote-pre" wrap="">
KDevelop (and I think Kate too) displays headers in "Project" view without
this. I am not convinced of this amount of work (and cluttering of our CMake
files) to workaround IDE/editor deficiencies. While I don't know how easy it
is to get at CMake is likely to have include info.
David
</pre>
</blockquote>
</body>
</html>