<html data-lt-installed="true">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body style="padding-bottom: 1px;">
<p> </p>
<p style="line-height: 100%; margin-bottom: 0cm">
Dear developers,</p>
<p style="line-height: 100%; margin-bottom: 0cm"><br>
</p>
<p style="line-height: 100%; margin-bottom: 0cm">unfortunately, I
have a problem with Kdevelop 5.6.2 that I couldn't solve even
after
extensive online research. Probably "I can't see the forest for
the trees"!</p>
<p style="line-height: 100%; margin-bottom: 0cm"><br>
</p>
<p style="line-height: 100%; margin-bottom: 0cm">In all project
templates that are relevant to me (cmake_plaincpp.tar.bz2 and
cmake_plainc.tar.bz2), I have added a header to the main.cpp.
There
and as a separate text module I would like to implement the date
and
time. Sorry, that is not possible. Neither %{date} nor ${date}
expand
to the current date after inclusion in the source code. If I try
to
use the online text module by Milian Wolf (see below), "%{year}"
is not expanded to the current year (2023) in my source code
(main.cpp). Here is his snippet:</p>
<p style="line-height: 100%; margin-bottom: 0cm"><br>
</p>
<p style="line-height: 100%; margin-bottom: 0cm">/*</p>
<p style="line-height: 100%; margin-bottom: 0cm">* This file is part
of KDevelop</p>
<p style="line-height: 100%; margin-bottom: 0cm">*</p>
<p style="line-height: 100%; margin-bottom: 0cm">* Copyright %{year}
Milian Wolff <a class="moz-txt-link-rfc2396E" href="mailto:mail@milianw.de"><mail@milianw.de></a></p>
<p style="line-height: 100%; margin-bottom: 0cm">*</p>
<p style="line-height: 100%; margin-bottom: 0cm">* This program ....
.</p>
<p style="line-height: 100%; margin-bottom: 0cm">*/</p>
<p style="line-height: 100%; margin-bottom: 0cm"><br>
</p>
<p style="line-height: 100%; margin-bottom: 0cm"><br>
</p>
<p style="line-height: 100%; margin-bottom: 0cm">My own template
should look like /usr/share/kdevcodegen/licenses/GPL v3:</p>
<p style="line-height: 100%; margin-bottom: 0cm"><br>
</p>
<p style="line-height: 100%; margin-bottom: 0cm"><one line to
give
the program's name and a brief idea of what it does.></p>
<p style="line-height: 100%; margin-bottom: 0cm">Copyright (C)
<year>
<copyright holder></p>
<p style="line-height: 100%; margin-bottom: 0cm">by Attorney Georg
Michael Steyer, Leverkusen</p>
<p style="line-height: 100%; margin-bottom: 0cm"><br>
</p>
<p style="line-height: 100%; margin-bottom: 0cm">Created on
<day>.<month>.<year></p>
<p style="line-height: 100%; margin-bottom: 0cm">Rev. 1.000.003 of
<day>.<month>.<year></p>
<p style="line-height: 100%; margin-bottom: 0cm"><br>
</p>
<p style="line-height: 100%; margin-bottom: 0cm">This program...</p>
<p style="line-height: 100%; margin-bottom: 0cm"><br>
</p>
<p style="line-height: 100%; margin-bottom: 0cm"><br>
</p>
<p style="line-height: 100%; margin-bottom: 0cm">But also here
"<day>.<month>.<year>" are not expanded
to the current date.</p>
<p style="line-height: 100%; margin-bottom: 0cm"><br>
</p>
<p style="line-height: 100%; margin-bottom: 0cm">What am I doing
wrong?</p>
<p style="line-height: 100%; margin-bottom: 0cm"><br>
</p>
<p style="line-height: 100%; margin-bottom: 0cm">Thanks for your
help
in advance</p>
<p>
<style type="text/css">p { line-height: 115%; margin-bottom: 0.25cm; background: transparent }</style></p>
<div class="moz-signature">-- <br>
Mit freundlichen Grüßen<br>
Rechtsanwalt Georg Michael Steyer (aus info@)<br>
Kolberger Str. 106, 51381 Leverkusen<br>
Mitglied der Juristischen Gesellschaft Tübingen e.V. an der
Eberhard Karls Universität Tübingen <br>
<br>
Aus MX-Linux 21.3 Plasma 5.20.5 - XFCE 4.18 aus Thunderbird vom HP
Z230 SSD<br>
<br>
<br>
</div>
</body>
<lt-container></lt-container>
</html>