qtwaylandscanner: don't track source file location
Generate source code without information about original location of the source file. Useful for reproducible builds. Task-number: QTBUG-105926 Task-number: QTBUG-105913 Change-Id: I5f9b3f90e6e85c772a92425e7b796a9d63c3c713 Reviewed-by: Ari Parkkila <ari.parkkila@qt.io> Reviewed-by: David Edmundson <davidedmundson@kde.org>
This commit is contained in:
parent
0fc235c503
commit
54af4f6e88
@ -438,7 +438,7 @@ bool Scanner::process()
|
||||
return false;
|
||||
|
||||
printf("// This file was generated by qtwaylandscanner\n");
|
||||
printf("// source file is %s\n\n", qPrintable(m_protocolFilePath));
|
||||
printf("// source file is %s\n\n", qPrintable(QFileInfo(file).fileName()));
|
||||
|
||||
for (auto b : std::as_const(m_includes))
|
||||
printf("#include %s\n", b.constData());
|
||||
|
Loading…
x
Reference in New Issue
Block a user