Commit 384e611c authored by Volker Krause's avatar Volker Krause
Browse files

Add SPDX markers for the generated qrc file

parent e99e7421
......@@ -66,7 +66,13 @@ static void writeQrc(const std::vector<QString> &certNames)
if (!qrc.open(QFile::WriteOnly)) {
qFatal("Failed to open file %s: %s", qPrintable(qrc.fileName()), qPrintable(qrc.errorString()));
}
qrc.write("<RCC>\n <qresource prefix=\"/org.kde.pim/kitinerary/vdv/certs\">\n");
qrc.write(R"(<!--
SPDX-FileCopyrightText: none
SPDX-License-Identifier: CC0-1.0
-->
<RCC>
<qresource prefix="/org.kde.pim/kitinerary/vdv/certs">
)");
for (const auto &certName : certNames) {
qrc.write(" <file>");
qrc.write(certName.toUtf8());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment